Wei Yongjun 64b8dd299a 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>
2013-06-05 22:48:52 -07:00
..
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-04-04 09:25:43 -07:00
2012-04-04 09:25:43 -07:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2013-02-16 22:12:40 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2013-03-12 08:50:20 -07:00