HSI: omap_ssi: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 1 Dec 2018 02:33:55 +0000 (21:33 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 4 Dec 2018 23:16:59 +0000 (00:16 +0100)
commit3a658e09a215586918044d8f8b8358eb14fa3f7d
tree61f7957ce20da5aa340b1024ff327b177453cee0
parent651022382c7f8da46cb4872a545ee1da6d097d2a
HSI: omap_ssi: 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: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/hsi/controllers/omap_ssi_core.c
drivers/hsi/controllers/omap_ssi_port.c