Skip to content

Commit 5a36826

Browse files
esbenalexandrebelloni
authored andcommitted
rtc: isl12022: Replace uint8_t types with u8
Keep coding style consistent, by using kernel integer types instead of standard types. Signed-off-by: Esben Haabendal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent c62d658 commit 5a36826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/rtc/rtc-isl12022.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm)
172172
{
173173
struct isl12022 *isl12022 = dev_get_drvdata(dev);
174174
struct regmap *regmap = isl12022->regmap;
175-
uint8_t buf[ISL12022_REG_INT + 1];
175+
u8 buf[ISL12022_REG_INT + 1];
176176
int ret;
177177

178178
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)
209209
struct isl12022 *isl12022 = dev_get_drvdata(dev);
210210
struct regmap *regmap = isl12022->regmap;
211211
int ret;
212-
uint8_t buf[ISL12022_REG_DW + 1];
212+
u8 buf[ISL12022_REG_DW + 1];
213213

214214
dev_dbg(dev, "%s: %ptR\n", __func__, tm);
215215

0 commit comments

Comments
 (0)