mmc: core: shut up "voltage-ranges unspecified" pr_info()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Jan 2016 09:43:50 +0000 (09:43 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:07 +0000 (11:03 +0100)
commit10a16a01d8f72e80f4780e40cf3122f4caffa411
tree6046114ed955e6a1b0c53008eadaa295bab37c5f
parent14d5828f4ebbfbe8e07d4d01eb85a684a9290243
mmc: core: shut up "voltage-ranges unspecified" pr_info()

Each time a driver such as sdhci-esdhc-imx is probed, we get a info
printk complaining that the DT voltage-ranges property has not been
specified.

However, the DT binding specifically says that the voltage-ranges
property is optional.  That means we should not be complaining that
DT hasn't specified this property: by indicating that it's optional,
it is valid not to have the property in DT.

Silence the warning if the property is missing.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c