summaryrefslogtreecommitdiff
path: root/include/uapi/linux/timerfd.h
diff options
context:
space:
mode:
authorPei Xiao <xiaopei01@kylinos.cn>2026-02-20 05:44:25 +0300
committerMark Brown <broonie@kernel.org>2026-02-23 15:17:57 +0300
commitfed6e5084894373d76270cad4a32eb6479ad8247 (patch)
tree9fe215d210dbe6f6d5a101dcf10668f6962ec4aa /include/uapi/linux/timerfd.h
parent6f7e9b11549dc726270a7e8539201d4270f15803 (diff)
downloadlinux-fed6e5084894373d76270cad4a32eb6479ad8247.tar.xz
spi: atcspi200: Remove redundant assignment to .owner
The coccicheck tool reports the following warning for this driver: ./spi-atcspi200.c:670:3-8: No need to set .owner here. The core will do it. The manual assignment of .owner = THIS_MODULE; in the platform_driver struct is redundant. The platform_driver_register() function, which is called to register the driver, is a macro that automatically sets the driver's owner to THIS_MODULE. The driver core handles this assignment internally, making the explicit initialization in the struct definition unnecessary. Remove the unnecessary line. Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Link: https://patch.msgid.link/tencent_65C9C09CBD2B68C400F7145521A4B217E606@qq.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/linux/timerfd.h')
0 files changed, 0 insertions, 0 deletions