wl1251: wl12xx_get_platform_data() returns an ERR_PTR
authorDan Carpenter <error27@gmail.com>
Sat, 18 Dec 2010 08:52:10 +0000 (11:52 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Dec 2010 19:49:49 +0000 (14:49 -0500)
commitae29fbb189c7a80677500c718c9ce08095ccde01
treef62fb4e57d9dac563976f71599fad3daacc13da2
parentd704300fa546a613ec3821b908528b20685cb92a
wl1251: wl12xx_get_platform_data() returns an ERR_PTR

wl12xx_get_platform_data() returns an ERR_PTR on failure and it never
returns a NULL.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl1251/sdio.c