summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>2016-12-23 12:15:59 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-01-10 01:32:51 +0100
commite3dcb74991b792cb9eecae7cd5227b436f8e69ce (patch)
tree192df6a96c54faed74aff23db9d02bbf822cd87f /drivers
parentrtc: tps65910: Add RTC calibration support (diff)
downloadlinux-e3dcb74991b792cb9eecae7cd5227b436f8e69ce.tar.xz
linux-e3dcb74991b792cb9eecae7cd5227b436f8e69ce.zip
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 <vesa.jaaskelainen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-tps65910.c3
1 files changed, 2 insertions, 1 deletions
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;