]> Pileus Git - ~andy/linux/commit
ARM: 7714/1: mmc: mmci: Ensure return value of regulator_enable() is checked
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 11:52:12 +0000 (12:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 10 May 2013 13:44:17 +0000 (14:44 +0100)
commitdb90f91f6f4a870583d5c11cda187f20e4d835ae
treea3f61581992c2f5e14177cf7f443653b94723f2f
parentc01c5a506b59a8248b7666c779eb4ed689937874
ARM: 7714/1: mmc: mmci: Ensure return value of regulator_enable() is checked

This patch suppresses the warning below:

drivers/mmc/host/mmci.c: In function ‘mmci_set_ios’:
drivers/mmc/host/mmci.c:1165:20: warning: ignoring return value of
        ‘regulator_enable’, declared with attribute warn_unused_result
        [-Wunused-result]

Cc: Chris Ball <cjb@laptop.org>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c