[media] IR/nuvoton: address all checkpatch.pl issues
authorJarod Wilson <jarod@redhat.com>
Fri, 15 Oct 2010 14:07:37 +0000 (11:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:54:20 +0000 (07:54 -0200)
commit4e6e29ad10dc8ff174d7fd15b54e32c783fd8ab8
tree16498c200bbd20e5af4422c493fbac85e178329d
parent06e6588edfb2be6fb3e544097c07274bd7b64084
[media] IR/nuvoton: address all checkpatch.pl issues

The driver was missing KERN_ facilities on a number of printks. The
register dump functions have been updated to use KERN_INFO, so that the
register dump gets logged in syslog (they only run on driver load, and
only when debug is enabled). The buffer dump routine now uses
KERN_DEBUG, as that spew will happen quite frequently (several times
every IR signal), and shouldn't need to be logged.

Also split up the small handful of lines that were just over 80
characaters, and fixed the ioctl.h include.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/nuvoton-cir.c
drivers/media/IR/nuvoton-cir.h