[media] staging: lirc: Fix sparse warnings
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Thu, 8 May 2014 11:13:17 +0000 (08:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 19:02:03 +0000 (16:02 -0300)
commit465b8229acd01bbb72fea89ee6f3657071952bdf
tree8cd9a2d09295a8bfb6b64a8adba936f712f6977a
parent0cacb46ace1f433f0ab02af10686f6dc50b5d268
[media] staging: lirc: Fix sparse warnings

Fix sparse warnings by adding __user and __iomem annotations where
necessary and removing certain unnecessary casts. While at it,
also use u32 in place of __u32.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/lirc/lirc_bt829.c
drivers/staging/media/lirc/lirc_parallel.c
drivers/staging/media/lirc/lirc_serial.c
drivers/staging/media/lirc/lirc_sir.c
drivers/staging/media/lirc/lirc_zilog.c