commit | b5cf725c04003edc4942057ae479f68826cee909 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Oct 29 19:21:38 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Nov 19 09:35:32 2015 -0200 |
tree | d490ebbec1f6c3150a55de19c637b82e97416a9a | |
parent | 099256e58ef63ba171d5418fdc662e093cdba1be [diff] |
[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>