hwmon: lis3: Cleanup interrupt handling
Irqcfg moved to chip data instead of platform data. This simplifies access in interrupt handler little bit. Input device open and close functions set status for interrupt threaded handler once. Unnecessary check for interrupt source removed since it is enough that active interrupt line indicates that there was an interrupt. Signed-off-by: NSamu Onkalo <samu.p.onkalo@nokia.com> Acked-by: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
Showing
想要评论请 注册 或 登录