Browse Source

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>
Vesa Jääskeläinen 8 years ago
parent
commit
e3dcb74991
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/rtc/rtc-tps65910.c

+ 2 - 1
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;