[media] ad5820: fix one smatch warning
drivers/media/i2c/ad5820.c:61:24: error: dubious one-bit signed bitfield Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
d0a3a275e5
commit
1ee6dd5a91
|
@ -58,7 +58,7 @@ struct ad5820_device {
|
||||||
struct mutex power_lock;
|
struct mutex power_lock;
|
||||||
int power_count;
|
int power_count;
|
||||||
|
|
||||||
int standby : 1;
|
unsigned int standby : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ad5820_write(struct ad5820_device *coil, u16 data)
|
static int ad5820_write(struct ad5820_device *coil, u16 data)
|
||||||
|
|
Loading…
Reference in New Issue