diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2015-10-29 22:21:38 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 12:35:32 +0100 |
commit | b5cf725c04003edc4942057ae479f68826cee909 (patch) | |
tree | d490ebbec1f6c3150a55de19c637b82e97416a9a /drivers/media/rc/ir-nec-decoder.c | |
parent | [media] media: rc: nuvoton-cir: switch resource handling to devm functions (diff) | |
download | linux-b5cf725c04003edc4942057ae479f68826cee909.tar.xz linux-b5cf725c04003edc4942057ae479f68826cee909.zip |
[media] media: rc: nuvoton-cir: improve chip detection
Make the chip detection code more similar to the one used for the
same chips in watchdog/w83627hf_wdt.c and hwmon/w83627ehf.c.
Apart from better maintainability we gain
- unified naming of chips (e.g. 677C -> NCT6776F)
- driver works with all revisions of the chips
(least 4 bits of id are masked)
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/ir-nec-decoder.c')
0 files changed, 0 insertions, 0 deletions