ide: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 1 Dec 2018 02:20:48 +0000 (21:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2018 06:09:09 +0000 (22:09 -0800)
commit94d0fb159da94cb4522e14d6004bb7acf2ff0387
tree523a90f1767974274f8ff9c38e02502cdd649f0e
parenta51921c0db3fd26c4ed83dc0ec5d32988fa02aa5
ide: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-proc.c