]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2127: remove unnecessary #ifdef
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 5 May 2020 20:13:08 +0000 (22:13 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:04:40 +0000 (16:04 +0200)
commit3398eb65a7d11b598cbee6c10e8eb53adc30f5f5
tree511fc2b02beef5f400cb91757628fb2ac7af0abe
parentc9e3112bd65948652b43b865c40dd1ba2d0e71ef
rtc: pcf2127: remove unnecessary #ifdef

There is not point in setting .ioctl to NULL when CONFIG_RTC_INTF_DEV is
not defined because it would not be called anyway.

Link: https://lore.kernel.org/r/20200505201310.255145-3-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf2127.c