diff options
author | Fabio Estevam | 2013-07-21 18:25:03 +0200 |
---|---|---|
committer | David S. Miller | 2013-07-23 01:50:31 +0200 |
commit | 399db75b2cc62aa67d465158b11fafca9ca9b408 (patch) | |
tree | e3600278aad69631b1a8c594b85ca3e923522736 /security/integrity/ima | |
parent | fec: Check the return value from clk_prepare_enable() (diff) | |
download | kernel-qcow2-linux-399db75b2cc62aa67d465158b11fafca9ca9b408.tar.gz kernel-qcow2-linux-399db75b2cc62aa67d465158b11fafca9ca9b408.tar.xz kernel-qcow2-linux-399db75b2cc62aa67d465158b11fafca9ca9b408.zip |
fec: Remove unneeded check in platform_get_resource()
As devm_ioremap_resource() is used, there is no need to explicitely check the
return value from platform_get_resource(), as this is something that
devm_ioremap_resource() takes care by itself.
Also, place platform_get_resource() prior to devm_ioremap_resource() for
better code readability.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/integrity/ima')
0 files changed, 0 insertions, 0 deletions