]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / Domains: remove define_genpd_open_function() and define_genpd_debugfs_fops()
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 15 Dec 2018 08:45:26 +0000 (03:45 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Dec 2018 09:37:06 +0000 (10:37 +0100)
commitd32dcc6c6970667e438e2b1fec92816d98dcb29f
treea207d83d5071e81d47598e7e5277d44698863009
parent7566ec393f4161572ba6f11ad5171fd5d59b0fbd
PM / Domains: remove define_genpd_open_function() and define_genpd_debugfs_fops()

We already have the DEFINE_SHOW_ATTRIBUTE, There is no need to define
such a macro, so remove define_genpd_open_function and
define_genpd_debugfs_fops.

Convert them to DEFINE_SHOW_ATTRIBUTE.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c