Commit 37c1346c authored by Anthony Koo's avatar Anthony Koo Committed by Alex Deucher

drm/amd/display: Fix some backlight variable styling

variableNamingsLikeSo aren't to convention. use_this_instead.
Signed-off-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 262485a5
...@@ -208,22 +208,20 @@ struct dm_bl_data_point { ...@@ -208,22 +208,20 @@ struct dm_bl_data_point {
/* Brightness level as effective value in range 0-255, /* Brightness level as effective value in range 0-255,
* corresponding to above percentage * corresponding to above percentage
*/ */
uint8_t signalLevel; uint8_t signal_level;
}; };
/* Total size of the structure should not exceed 256 bytes */ /* Total size of the structure should not exceed 256 bytes */
struct dm_acpi_atif_backlight_caps { struct dm_acpi_atif_backlight_caps {
uint16_t size; /* Bytes 0-1 (2 bytes) */ uint16_t size; /* Bytes 0-1 (2 bytes) */
uint16_t flags; /* Byted 2-3 (2 bytes) */ uint16_t flags; /* Byted 2-3 (2 bytes) */
uint8_t errorCode; /* Byte 4 */ uint8_t error_code; /* Byte 4 */
uint8_t acLevelPercentage; /* Byte 5 */ uint8_t ac_level_percentage; /* Byte 5 */
uint8_t dcLevelPercentage; /* Byte 6 */ uint8_t dc_level_percentage; /* Byte 6 */
uint8_t minInputSignal; /* Byte 7 */ uint8_t min_input_signal; /* Byte 7 */
uint8_t maxInputSignal; /* Byte 8 */ uint8_t max_input_signal; /* Byte 8 */
uint8_t numOfDataPoints; /* Byte 9 */ uint8_t num_data_points; /* Byte 9 */
struct dm_bl_data_point dataPoints[99]; /* Bytes 10-207 (198 bytes)*/ struct dm_bl_data_point data_points[99]; /* Bytes 10-207 (198 bytes)*/
}; };
enum dm_acpi_display_type { enum dm_acpi_display_type {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment