Commits
![Guenter Roeck](https://secure.gravatar.com/avatar/5310e4cef02c9a8db987f669d4d5828f.jpg?s=96&d=mm)
Guenter Roeck committed 60ca5e0d280
driver-core: platform: Catch errors from calls to irq_get_irq_data irq_get_irq_data() can return NULL, which results in a nasty crash. Check its return value before passing it on to irqd_set_trigger_type(). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>