rtc: at91sam9: Set name of regmap_config
authorJeffy Chen <jeffy.chen@rock-chips.com>
Mon, 12 Mar 2018 09:51:40 +0000 (17:51 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:57 +0000 (14:20 +0100)
We are now allowing to register debugfs without a valid device, and not
having a valid name will end up using "dummy*" to create debugfs dir.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91sam9.c

index 7418a76..ee71e64 100644 (file)
@@ -349,6 +349,7 @@ static const struct rtc_class_ops at91_rtc_ops = {
 };
 
 static const struct regmap_config gpbr_regmap_config = {
+       .name = "gpbr",
        .reg_bits = 32,
        .val_bits = 32,
        .reg_stride = 4,