diff options
author | Sivaram Nair <sivaramn@nvidia.com> | 2013-07-04 13:51:54 +0300 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:32:44 -0700 |
commit | 360a4abae5b2b934ea18ec58733a3fa64d252792 (patch) | |
tree | b87e8465af80b6a6eb3a2593555753c6160aead1 /drivers/edp | |
parent | 25c8dfd8f10c017f404146f71dab6270562e7773 (diff) |
EDP: fix bad client name
The dummy client created to reduce the EDP cap is named '.'. This
results in a runtime warning because the sysfs entries can not be
created with this name. Fixing this by changing the name to '.debug'
Change-Id: I90ac60503053ce5de8d3ea1b2d1a7627d1ea33ea
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/245108
(cherry picked from commit f4e922af79136d23991d86c17c34101a261912db)
Reviewed-on: http://git-master/r/250629
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/edp')
-rw-r--r-- | drivers/edp/edp_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edp/edp_debug.c b/drivers/edp/edp_debug.c index ac5dd3b074d0..2464bcce74d7 100644 --- a/drivers/edp/edp_debug.c +++ b/drivers/edp/edp_debug.c @@ -34,7 +34,7 @@ static int reduce_cap(struct edp_manager *m, unsigned int new_max) unsigned int delta = m->max - new_max; unsigned int remain; struct edp_client c = { - .name = ".", + .name = ".debug", .states = &delta, .num_states = 1, .e0_index = 0, |