Skip to contentSkip to conversation

Staging: iio: ad9832: Replace 'unsigned' with 'unsigned int'

PATCH New Svetlana Orlik 1 participant 1 message Mar 22, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Staging: iio: ad9832: Replace 'unsigned' with 'unsigned int'

Replace 'unsigned' with 'unsigned int' to avoid checkpatch.pl warning.

---
Changes in v3:
-Correct 'iio:' in subject line. -Re-commit patch using full name 'Svetlana Orlik'.

 drivers/staging/iio/frequency/ad9832.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/frequency/ad9832.c +1 -1
index 18b27a1..358400b 100644
@@ -31,7 +31,7 @@ static unsigned long ad9832_calc_freqreg(unsigned long mclk, unsigned long fout)
 }
 
 static int ad9832_write_frequency(struct ad9832_state *st,
-				  unsigned addr, unsigned long fout)
+				  unsigned int addr, unsigned long fout)
 {
 	unsigned long regval;
 
Signature · 1 line
2.5.0