提交 e3dcb749 编写于 作者: V Vesa Jääskeläinen 提交者: 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: NVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册