mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 16 Jul 2015 13:50:45 +0000 (15:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 24 Jul 2015 08:18:34 +0000 (10:18 +0200)
commit9098f84cced870f54d8c410dd2444cfa61467fa0
treed05d4e8a30079a0a29295105103393d16e955cb7
parentc2b22fff7186f8a6bd6dbfe960ad00421ba82a52
mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()

Enclosing mmc_blk_put() is missing in power_ro_lock_show() sysfs handler,
let's add it.

Fixes: add710eaa886 ("mmc: boot partition ro lock support")
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c