Commit 58dffa9
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>1 parent e4163fc commit 58dffa9
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
1106 | | - | |
| 1106 | + | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | | - | |
1406 | | - | |
| 1405 | + | |
1407 | 1406 | | |
1408 | 1407 | | |
1409 | 1408 | | |
| |||
1475 | 1474 | | |
1476 | 1475 | | |
1477 | 1476 | | |
1478 | | - | |
1479 | | - | |
1480 | | - | |
| 1477 | + | |
1481 | 1478 | | |
1482 | 1479 | | |
1483 | 1480 | | |
| |||
0 commit comments