Wu, Josh
7d82d89772
gpio: at91: add sanity check for the NULL pointer
...
We need check the NULL pointer as at91_pio_get_port() may return NULL.
Also print a error message when at91_pio_get_port() failed otherwise we
cannot notice the failure.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2014-05-27 00:10:45 +02:00
..
2013-11-04 16:50:46 +08:00
2013-07-24 09:44:38 -04:00
2014-05-27 00:10:45 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2012-09-01 14:58:19 +02:00
2014-03-04 12:15:30 -05:00
2013-07-24 09:44:38 -04:00
2014-02-22 19:30:27 +01:00
2013-07-24 09:44:38 -04:00
2014-03-04 12:15:30 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-31 11:30:38 +02:00
2013-11-13 10:09:09 +01:00
2013-08-19 15:34:13 -04:00
2013-08-16 13:45:15 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2014-05-13 15:20:38 +09:00
2014-03-04 12:15:30 -05:00
2012-08-08 10:24:41 +09:00
2013-07-24 09:44:38 -04:00
2013-11-08 09:39:13 -05:00
2013-07-30 09:21:42 -04:00
2014-05-13 10:41:31 -07:00
2013-07-24 09:44:38 -04:00