aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-05-28 00:58:19 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-06-05 22:48:52 -0700
commit64b8dd299a1344626bbcfcbd62f19f1542349ad8 (patch)
tree773cf912d59b5520b22a52cdcc3c79d567370ff5 /firmware
parentInput: add TI-Nspire keypad support (diff)
downloadlinux-dev-64b8dd299a1344626bbcfcbd62f19f1542349ad8.tar.xz
linux-dev-64b8dd299a1344626bbcfcbd62f19f1542349ad8.zip
Input: atmel_tsadcc - fix error handing with missing platform data
If pdata is NULL, atmel_tsadcc_probe() will release all the resources and return 0, but we need a error code is returned in this case. Fix to return -EINVAL and move the check for pdata to the begin of this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions