lkmpg/examples
Andy Shevchenko e62dff0df4 treewide: Clean up the headers
The rule of thumb is to include the headers we are the direct user of.
In particular, if we need an atomic API, we include <linux/atomic.h>.

On the other hand we should not use headers for no reason. In particular,
if we are not doing any IRQ job, why is the <linux/irq.h> included?

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-02-23 12:54:30 +02:00
..
other Fix incoherent ioctl examples (#139) 2022-02-21 00:53:29 +08:00
.clang-format Introduce Virtual Input Device Driver 2022-04-06 17:13:29 +08:00
bottomhalf.c Fix typo, grammar and remove duplicated words 2022-03-07 16:56:13 +08:00
chardev.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
chardev.h Fix incoherent ioctl examples (#139) 2022-02-21 00:53:29 +08:00
chardev2.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
completions.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
cryptosha256.c Add error message when sha256 algorithm is not supported 2022-12-12 23:07:20 +08:00
cryptosk.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
devicemodel.c devicemodel: Remove duplicate owner assignment 2023-02-21 23:04:41 +02:00
example_atomic.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
example_mutex.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
example_rwlock.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
example_spinlock.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
example_tasklet.c Fix typo, grammar and remove duplicated words 2022-03-07 16:56:13 +08:00
hello-1.c Mention pr_info() rather than KERN_INFO 2021-08-16 21:53:22 +02:00
hello-2.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-3.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-4.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
hello-5.c Fix grammar 2022-03-09 14:14:08 +08:00
hello-sysfs.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
intrpt.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
ioctl.c Fix a logic error in examples/ioctl.c (#137) 2022-02-21 00:58:47 +08:00
kbleds.c CI: Introduce Smatch for static analysis (#125) 2021-11-01 08:20:41 +08:00
Makefile Fix wrong regular expression of clang-format 2022-04-10 22:51:59 +08:00
print_string.c Fix typo, grammar and remove duplicated words 2022-03-07 16:56:13 +08:00
procfs1.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
procfs2.c procfs{2, 3}: Change to use offset parameter 2022-09-08 12:53:29 +08:00
procfs3.c Improve the compatibility with kernel < v5.10 2022-09-21 13:53:06 +08:00
procfs4.c suppress warning: no newline at end of file 2021-09-08 22:23:02 +08:00
sched.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
sleep.c treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
start.c Apply editorial changes 2021-08-08 01:24:59 +08:00
stop.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
syscall.c syscall: Use openat() instead of open() 2022-12-25 14:27:03 +08:00
vinput.c vinput: Fix missing error code 2022-11-04 01:16:14 +08:00
vinput.h Add description of sysfs attribute 2022-04-19 01:54:24 +08:00
vkbd.c Add description of sysfs attribute 2022-04-19 01:54:24 +08:00