driver: workaroud resource request that conflicts with errno PTR
broken since

commit ed6e965
Author:     Sascha Hauer <s.hauer@pengutronix.de>
resource: Let dev_request_mem_region return an error pointer

Introduce dev_request_mem_region_err_null

only used on platform like at91 where the resource address conflicts
with errno PTR.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c5151ca commit 40662bbb59f18b489c7e2c7c41612f1c16582d2e
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 6 Jan 2015
Sascha Hauer committed on 8 Jan 2015
Showing 5 changed files
View
arch/arm/mach-at91/at91sam926x_time.c
View
drivers/base/driver.c
View
drivers/pinctrl/pinctrl-at91.c
View
drivers/serial/atmel.c
View
include/driver.h