Commit e3dcb749 authored by Vesa Jääskeläinen's avatar Vesa Jääskeläinen Committed by Alexandre Belloni

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: default avatarVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent aecb57da
...@@ -47,7 +47,8 @@ struct tps65910_rtc { ...@@ -47,7 +47,8 @@ struct tps65910_rtc {
/* Multiplier for ppb conversions */ /* Multiplier for ppb conversions */
#define PPB_MULT (1000000000LL) #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); struct tps65910 *tps = dev_get_drvdata(dev->parent);
u8 val = 0; u8 val = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment