counter: Cleanup lingering atomic.h includes
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 21 Oct 2021 10:35:14 +0000 (19:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Oct 2021 11:02:45 +0000 (13:02 +0200)
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>
drivers/counter/counter-chrdev.c
drivers/counter/counter-sysfs.c

index b747dc81cfc6bc091d31cc069d5eee4441d11741..0c82613582f1027aa5101d1ce6fbcea5256eec11 100644 (file)
@@ -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>
index 8c2d7c29ea598019462ade9a62168bba3624c83a..67a98885165749ef675c5ef0f6a384d0dac70d1f 100644 (file)
@@ -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>