[PATCH v2] mfd: ipaq-micro: Delete redundant return value check of platform_get_resource()

2017-03-25 Thread Belen Sarabia
devm_ioremap_resource does checks on the resource. No need to duplicate this in the driver. Signed-off-by: Belén Sarabia --- Changes in v2: - Subject line expected by the subsystem. - Remove one line more. --- drivers/mfd/ipaq-micro.c | 3 --- 1 file changed, 3

[PATCH v2] mfd: ipaq-micro: Delete redundant return value check of platform_get_resource()

2017-03-25 Thread Belen Sarabia
devm_ioremap_resource does checks on the resource. No need to duplicate this in the driver. Signed-off-by: Belén Sarabia --- Changes in v2: - Subject line expected by the subsystem. - Remove one line more. --- drivers/mfd/ipaq-micro.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH] mailbox: rockchip: Delete redundant return value check of platform_get_resource()

2017-03-25 Thread Belen Sarabia
Delete redundant error handling on the result to platform_get_resource() when the value is passed to devm_ioremap_resource(). Signed-off-by: Belen Sarabia <belensara...@gmail.com> --- drivers/mailbox/rockchip-mailbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/m

[PATCH] mailbox: rockchip: Delete redundant return value check of platform_get_resource()

2017-03-25 Thread Belen Sarabia
Delete redundant error handling on the result to platform_get_resource() when the value is passed to devm_ioremap_resource(). Signed-off-by: Belen Sarabia --- drivers/mailbox/rockchip-mailbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mailbox/rockchip-mailbox.c b/drivers

[PATCH] Delete redundant return value check of platform_get_resource()

2017-02-27 Thread Belen Sarabia
Delete error handling from the result of a call to platform_get_resource() when the value is immediately passed to devm_ioremap_resource(). Signed-off-by: Belen Sarabia <belensara...@gmail.com> --- drivers/ata/ahci_octeon.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drive

[PATCH] Delete redundant return value check of platform_get_resource()

2017-02-27 Thread Belen Sarabia
Delete error handling from the result of a call to platform_get_resource() when the value is immediately passed to devm_ioremap_resource(). Signed-off-by: Belen Sarabia --- drivers/ata/ahci_octeon.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/ata/ahci_octeon.c b/drivers/ata