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)
commit664eaf033f9f85d67cb9b9e4b1584bd12e4ed20e
tree511fc2b02beef5f400cb91757628fb2ac7af0abe
parentb139bb5c262bb0d152d541a1715792364ad121ce
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