mmc: core: prepend 0x to pre_eol_info entry in sysfs
authorBastian Stender <bst@pengutronix.de>
Tue, 28 Nov 2017 08:24:06 +0000 (09:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:26:33 +0000 (11:26 +0100)
commite6aa6389263d0db52ea674ed45eb591d21585eca
tree64219702d77395e9d01521a0a178e74a005f06c4
parent64d1df6f018e728774bdf5d1aeb576d1c8d1872d
mmc: core: prepend 0x to pre_eol_info entry in sysfs

commit 80a780a167d9267c72867b806142bd6ec69ba123 upstream.

The sysfs entry "pre_eol_info" was missing the 0x prefix to identify it
as hex formatted.

Fixes: 46bc5c408e4e ("mmc: core: Export device lifetime information through sysfs")
Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/mmc.c