diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-02-18 02:05:56 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-19 02:39:54 +0400 |
commit | b314fc7754119e12974210f06e04cd7a15206fee (patch) | |
tree | f5edc83076358d8592c80920a8d92d7e5383b229 /fs/afs | |
parent | 1bc18086231c130895b87ec049be8ddcdab552b8 (diff) | |
download | linux-b314fc7754119e12974210f06e04cd7a15206fee.tar.xz |
pata_imx: Use devm_ioremap_resource() to simplify code
Using devm_ioremap_resource() can lead to code simplication, as we don't need
to explicitily check for error returned by platform_get_resource().
Also, no need to print an error message when devm_ioremap_resource() fails,
as the OOM code code will shout loudly on such condition.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions