diff options
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | 2015-10-29 11:04:55 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-10-30 16:10:40 +0100 |
commit | 16bd5865cdb3b190105db21bd22a0ca0501e7b20 (patch) | |
tree | 6b207e90f26402a3f705eb8079ce3b3b92c5770e /scripts/unifdef.c | |
parent | hsi: correctly handle return value of kzalloc (diff) | |
download | linux-16bd5865cdb3b190105db21bd22a0ca0501e7b20.tar.xz linux-16bd5865cdb3b190105db21bd22a0ca0501e7b20.zip |
hsi: controllers:remove redundant code
Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because this value is alreadytaken care by devm_ioremap_resource()
Signed-off-by: Sanjeev Sharma <sanjeev_sharma@mentor.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions