aboutsummaryrefslogtreecommitdiff
path: root/drivers/counter
diff options
context:
space:
mode:
authorWilliam Breathitt Gray2021-10-21 19:35:14 +0900
committerGreg Kroah-Hartman2021-10-21 13:02:45 +0200
commit310e75c72fefa3b0b4535f669c8b37c963a2dba5 (patch)
tree3d1c280a3785f4c95eae1f1ff272da675b5ba4a2 /drivers/counter
parent8135cc5b270b3f224615bdee8bd7d66afee87991 (diff)
counter: Cleanup lingering atomic.h includes
With the removal of the chrdev_lock atomic flag, the counter-sysfs.c and counter-chrdev.c no longer needs to include the atomic.h header file. Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Link: https://lore.kernel.org/r/20211021103514.955622-1-vilhelm.gray@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter')
-rw-r--r--drivers/counter/counter-chrdev.c1
-rw-r--r--drivers/counter/counter-sysfs.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/counter/counter-chrdev.c b/drivers/counter/counter-chrdev.c
index b747dc81cfc6..0c82613582f1 100644
--- a/drivers/counter/counter-chrdev.c
+++ b/drivers/counter/counter-chrdev.c
@@ -3,7 +3,6 @@
* Generic Counter character device interface
* Copyright (C) 2020 William Breathitt Gray
*/
-#include <linux/atomic.h>
#include <linux/cdev.h>
#include <linux/counter.h>
#include <linux/err.h>
diff --git a/drivers/counter/counter-sysfs.c b/drivers/counter/counter-sysfs.c
index 8c2d7c29ea59..67a988851657 100644
--- a/drivers/counter/counter-sysfs.c
+++ b/drivers/counter/counter-sysfs.c
@@ -3,7 +3,6 @@
* Generic Counter sysfs interface
* Copyright (C) 2020 William Breathitt Gray
*/
-#include <linux/atomic.h>
#include <linux/counter.h>
#include <linux/device.h>
#include <linux/err.h>