]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtc: isl12022: Replace uint8_t types with u8
authorEsben Haabendal <esben@geanix.com>
Fri, 13 Sep 2024 10:29:14 +0000 (12:29 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Nov 2024 23:06:46 +0000 (00:06 +0100)
Keep coding style consistent, by using kernel integer types instead of
standard types.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Link: https://lore.kernel.org/r/20240913-rtc-isl12022-alarm-irq-v2-3-37309d939723@geanix.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl12022.c

index 8001e3c5da767aef44836c86bbffd4bec87ab65f..9b44839a7402c9ab7da634d95152c2520eb8552e 100644 (file)
@@ -172,7 +172,7 @@ static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm)
 {
        struct isl12022 *isl12022 = dev_get_drvdata(dev);
        struct regmap *regmap = isl12022->regmap;
-       uint8_t buf[ISL12022_REG_INT + 1];
+       u8 buf[ISL12022_REG_INT + 1];
        int ret;
 
        ret = regmap_bulk_read(regmap, ISL12022_REG_SC, buf, sizeof(buf));
@@ -209,7 +209,7 @@ static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm)
        struct isl12022 *isl12022 = dev_get_drvdata(dev);
        struct regmap *regmap = isl12022->regmap;
        int ret;
-       uint8_t buf[ISL12022_REG_DW + 1];
+       u8 buf[ISL12022_REG_DW + 1];
 
        dev_dbg(dev, "%s: %ptR\n", __func__, tm);