Commit 310e75c7 authored by William Breathitt Gray's avatar William Breathitt Gray Committed by Greg Kroah-Hartman

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: default avatarWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/20211021103514.955622-1-vilhelm.gray@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8135cc5b
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
* Generic Counter character device interface * Generic Counter character device interface
* Copyright (C) 2020 William Breathitt Gray * Copyright (C) 2020 William Breathitt Gray
*/ */
#include <linux/atomic.h>
#include <linux/cdev.h> #include <linux/cdev.h>
#include <linux/counter.h> #include <linux/counter.h>
#include <linux/err.h> #include <linux/err.h>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
* Generic Counter sysfs interface * Generic Counter sysfs interface
* Copyright (C) 2020 William Breathitt Gray * Copyright (C) 2020 William Breathitt Gray
*/ */
#include <linux/atomic.h>
#include <linux/counter.h> #include <linux/counter.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/err.h> #include <linux/err.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment