PM / OPP: Rename structures for clarity
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 16 Feb 2016 08:47:53 +0000 (14:17 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Feb 2016 13:24:35 +0000 (14:24 +0100)
commit2c2709dc6921c5d246b686521f932c73a20f428f
tree3e8b050d41c85d6d57a2dbee46dcb723d993859e
parenta5da64477ee79efa748df256928ec8840a2a7986
PM / OPP: Rename structures for clarity

Stephen pointed out recently, that few structures always confuse him as
they aren't named properly. And this patch tries to address that:

Names are updated as:
- device_opp or dev_opp -> opp_table
- dev_opp_list -> opp_tables
- dev_opp_list_lock -> opp_table_lock
- device_list_opp -> opp_device (it was never a list, but a structure)
- list_dev -> opp_dev
- And similar changes in comments and function names as well.

This also fixes checkpatch warnings that were generated with this patch.

No functional changes.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c
drivers/base/power/opp/cpu.c
drivers/base/power/opp/debugfs.c
drivers/base/power/opp/opp.h