From e3dcb74991b792cb9eecae7cd5227b436f8e69ce Mon Sep 17 00:00:00 2001 From: Vesa Jääskeläinen Date: Fri, 23 Dec 2016 13:15:59 +0200 Subject: rtc: tps65910: use 'unsigned int' instead of 'unsigned' in arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/rtc/rtc-tps65910.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/rtc/rtc-tps65910.c') diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index 9dd1db9a12af..d0244d7979fc 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; -- cgit v1.2.3-59-g8ed1b