commit | 2b0159d1ecfbc11badb96466c0c1582ee5ffe78f | [log] [tgz] |
---|---|---|
author | Sean Nyekjaer <sean.nyekjaer@prevas.dk> | Sun Oct 04 18:59:45 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 19:14:26 2015 +0100 |
tree | 4b927dd4e443947073e3b958803d1694db261b1f | |
parent | adfb9233e434896e87811339ca0c18bc923b262f [diff] |
sc16is7xx: null ptr check If a wrong compatible flag in specified, the of_match_device returning null. Implemented check and if NULL then returning -ENODEV. Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>