rtc: pcf2127: remove unused function argument
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Tue, 1 Aug 2023 19:04:32 +0000 (15:04 -0400)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 16 Aug 2023 23:01:51 +0000 (01:01 +0200)
commit58dffa96e62ccf30ecba718f124ce822ddc1150a
tree5ea49844a622158440623ff06628bde43dbae584
parente4163fc59d088caf3250cc9c9862239a954d85b5
rtc: pcf2127: remove unused function argument

Fixes the following W=1 kernel build warning(s):

drivers/rtc/rtc-pcf2127.c: In function ‘pcf2127_probe’:
drivers/rtc/rtc-pcf2127.c:635:32: warning: unused parameter ‘name’ [-Wunused-parameter]
  635 |     int alarm_irq, const char *name, bool is_pcf2127)
      |                    ~~~~~~~~~~~~^~~~

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20230801190432.3340545-1-hugo@hugovil.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf2127.c