mirror of https://gitee.com/openkylin/linux.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 <vesa.jaaskelainen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
aecb57da7a
commit
e3dcb74991
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue