]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: tps6586x: rename so module can be autoloaded
authorNicolas Chauvet <kwizart@gmail.com>
Tue, 10 May 2016 10:26:42 +0000 (12:26 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 21 May 2016 15:07:17 +0000 (17:07 +0200)
commit43cdcf0a821f822db1575b07c8a062765d85302f
treed7f27689647eb0b728d21395e7eaff371d7b25c5
parent4fe4541a277470b8bd854f61dfabb167c9ec21f8
rtc: tps6586x: rename so module can be autoloaded

This module is loaded by the related mfd driver which has
the needed MODULE_DEVICE_TABLE(i2c,...).

This patch fix the modalias when the rtc driver is built
as a module, so the right name is used.
Everything operates correctly when this module is builtin.

Fixes: esdc59ed3865 ("rtc: add RTC driver for TPS6586x")
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-tps6586x.c