summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/imx-iomux-v3.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-18 11:01:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-23 08:15:57 +0100
commitfe7855bb4f2d82ac4559c46c586c2f29e9f123e2 (patch)
treee249f3d4120db310564433797666907b425c9fe3 /drivers/pinctrl/imx-iomux-v3.c
parent8ee5479a28df0a3f3019419e46e9ee5c119a27bd (diff)
downloadbarebox-fe7855bb4f2d82ac4559c46c586c2f29e9f123e2.tar.gz
driver: Introduce dev_request_mem_resource
dev_request_mem_region returns a void * which shall be checked with IS_ERR(), but in some cases the valid pointer returned clashes with error values. This is especially the case on some Atmel SoCs. This introduces dev_request_mem_resource which returns a struct resource instead which in any case can be checked with IS_ERR(). It's the drivers responsibility then to get the IOMEM pointer from the resource. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/pinctrl/imx-iomux-v3.c')
0 files changed, 0 insertions, 0 deletions