remoteproc: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 1 Dec 2018 15:58:38 +0000 (10:58 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 16 Apr 2020 22:56:17 +0000 (15:56 -0700)
commitc78bc072ac80823a5934574e791325dd6817ec10
treef8d36bd47fa3dd462876e831a5c0df700f9b944d
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
remoteproc: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Link: https://lore.kernel.org/r/20181201155838.8619-1-tiny.windzz@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_debugfs.c