counter: Cleanup lingering atomic.h includes
PATCH 1/1 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 <[email protected]>
--- drivers/counter/counter-chrdev.c | 1 - drivers/counter/counter-sysfs.c | 1 - 2 files changed, 2 deletions(-)
drivers/counter/counter-chrdev.c +0 -1
@@ -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>
drivers/counter/counter-sysfs.c +0 -1
@@ -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>
base-commit: 8135cc5b270b3f224615bdee8bd7d66afee87991
Signature · 1 line
2.33.1