From: Vesa Jääskeläinen Date: Fri, 23 Dec 2016 11:15:59 +0000 (+0200) Subject: rtc: tps65910: use 'unsigned int' instead of 'unsigned' in arguments X-Git-Tag: v4.14-rc1~1402^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3dcb74991b792cb9eecae7cd5227b436f8e69ce;p=platform%2Fkernel%2Flinux-rpi.git rtc: tps65910: use 'unsigned int' instead of 'unsigned' in arguments Fixes checkpatch.pl warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Vesa Jääskeläinen Signed-off-by: Alexandre Belloni --- diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index 9dd1db9..d0244d7 100644 --- a/drivers/rtc/rtc-tps65910.c +++ b/drivers/rtc/rtc-tps65910.c @@ -47,7 +47,8 @@ struct tps65910_rtc { /* Multiplier for ppb conversions */ #define PPB_MULT (1000000000LL) -static int tps65910_rtc_alarm_irq_enable(struct device *dev, unsigned enabled) +static int tps65910_rtc_alarm_irq_enable(struct device *dev, + unsigned int enabled) { struct tps65910 *tps = dev_get_drvdata(dev->parent); u8 val = 0;