From: Felipe Balbi <felipe.balbi@xxxxxxxxx> change codying style, no functional changes. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- drivers/cbus/tahvo.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/cbus/tahvo.c b/drivers/cbus/tahvo.c index e14108f..fc25a89 100644 --- a/drivers/cbus/tahvo.c +++ b/drivers/cbus/tahvo.c @@ -340,7 +340,8 @@ static int __devinit tahvo_probe(struct device *dev) return -ENODEV; } - if ((ret = gpio_request(tahvo_irq_pin, "TAHVO irq")) < 0) { + ret = gpio_request(tahvo_irq_pin, "TAHVO irq"); + if (ret) { printk(KERN_ERR PFX "Unable to reserve IRQ GPIO\n"); return ret; } @@ -424,10 +425,12 @@ static int __init tahvo_init(void) init_completion(&device_release); - if ((ret = driver_register(&tahvo_driver)) < 0) + ret = driver_register(&tahvo_driver); + if (ret) return ret; - if ((ret = platform_device_register(&tahvo_device)) < 0) { + ret = platform_device_register(&tahvo_device); + if (ret) { driver_unregister(&tahvo_driver); return ret; } -- 1.7.0.rc0.33.g7c3932 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html