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
..
2014-03-04 12:15:30 -05:00
2014-02-22 19:30:27 +01:00
2014-03-04 12:15:30 -05:00
2013-07-31 11:30:38 +02:00