[media] rc-core: simplify sysfs code
authorDavid Härdeman <david@hardeman.nu>
Thu, 3 Apr 2014 23:32:16 +0000 (20:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 24 Jul 2014 01:01:35 +0000 (22:01 -0300)
commitda6e162d6a4607362f8478c715c797d84d449f8b
tree3f0b67c8f226bdbe281180968519645f5316fefd
parent0bc56cbef9fb496c79e34c46329f016064d3b0f6
[media] rc-core: simplify sysfs code

Simplify and cleanup the sysfs code a bit.

[m.chehab@samsung.com: rebased and fixed a CodingStyle issue]
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ir-raw.c
drivers/media/rc/rc-main.c