mirror of
https://github.com/torvalds/linux
synced 2024-10-07 11:53:31 +00:00
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>
This commit is contained in:
parent
8135cc5b27
commit
310e75c72f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue