]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rzn1: fix platform_no_drv_owner.cocci warning
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 18 May 2022 23:24:45 +0000 (07:24 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 May 2022 09:19:30 +0000 (11:19 +0200)
commit9e59df34cb0cd7c21bd10f642740a2d376136ad0
tree5c8b516726139861ce3fc2b2a63376c5bcb102fe
parent618b4b810145047d49826ff95145d3ff57ee8b60
rtc: rzn1: fix platform_no_drv_owner.cocci warning

Remove .owner field if calls are used which set it automatically.
./drivers/rtc/rtc-rzn1.c:411:3-8: No need to set .owner here. The core
will do it.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220518232445.79156-1-yang.lee@linux.alibaba.com
drivers/rtc/rtc-rzn1.c