diff options
author | Sivaram Nair <sivaramn@nvidia.com> | 2013-03-19 08:51:28 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:05:13 -0700 |
commit | f0f615e7037a1b0ae1325c8234877d1592013952 (patch) | |
tree | 06f93e5c20f063f2b7cbe7853253e3d763668947 /drivers/video/backlight | |
parent | eec9649e38f06a9f5c8927d1c2790fc4ed035fa8 (diff) |
backlight: max8831: fixing types
Using correct types for variables
Change-Id: Icc13649bd5ca44c4c2e33e2c051883248cef9503
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit c94cb9bc42c6062c21d8a9a62da1faeb32f55021)
Reviewed-on: http://git-master/r/212592
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/max8831_bl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/backlight/max8831_bl.c b/drivers/video/backlight/max8831_bl.c index 33dc257e68ef..8d5e7268c8de 100644 --- a/drivers/video/backlight/max8831_bl.c +++ b/drivers/video/backlight/max8831_bl.c @@ -1,7 +1,7 @@ /* * Backlight LEDs driver for MAX8831 * - * Copyright (c) 2008-2013, NVIDIA Corporation. + * Copyright (c) 2008-2013, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -81,10 +81,10 @@ static int max8831_backlight_set_with_edp(struct backlight_device *bl, { struct max8831_backlight_data *data = bl_get_data(bl); struct device *dev = data->max8831_dev; - int approved; + unsigned int approved; int ret; - int edp_state; - int i; + unsigned int edp_state; + unsigned int i; if (data->max8831_edp_client) { for (i = 0; i < MAX8831_EDP_NUM_STATES; i++) { if (brightness >= data->edp_brightness_states[i]) |