diff options
| author | Viresh Kumar <[email protected]> | 2016-02-16 08:47:53 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-02-21 13:24:35 +0000 |
| commit | 2c2709dc6921c5d246b686521f932c73a20f428f (patch) | |
| tree | 3e8b050d41c85d6d57a2dbee46dcb723d993859e /lib/string_helpers.c | |
| parent | PM / OPP: Fix incorrect comments (diff) | |
| download | kernel-2c2709dc6921c5d246b686521f932c73a20f428f.tar.gz kernel-2c2709dc6921c5d246b686521f932c73a20f428f.zip | |
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 <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
