From db2815ecf41bb76e39e27264466dc871a9d046a5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 12 Mar 2016 09:28:59 +0100 Subject: parade/ps8640: Clean up Sort out some style issues that were identified by Paul. Change-Id: I9ed946ae613c87234f8c9824eb14b8d28909dfcf Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/14064 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/drivers/parade/ps8640/ps8640.c | 2 +- src/drivers/parade/ps8640/ps8640.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/parade/ps8640/ps8640.c b/src/drivers/parade/ps8640/ps8640.c index 08de2ee9a6..dea7be3dfd 100644 --- a/src/drivers/parade/ps8640/ps8640.c +++ b/src/drivers/parade/ps8640/ps8640.c @@ -25,7 +25,7 @@ int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out) { int ret; u8 edid[EDID_LENGTH * 2]; - u32 edid_size; + int edid_size; i2c_writeb(bus, chip + 2, PAGE2_I2C_BYPASS, EDID_I2C_ADDR | I2C_BYPASS_EN); diff --git a/src/drivers/parade/ps8640/ps8640.h b/src/drivers/parade/ps8640/ps8640.h index 9e483b613b..f7b40061f0 100644 --- a/src/drivers/parade/ps8640/ps8640.h +++ b/src/drivers/parade/ps8640/ps8640.h @@ -42,4 +42,3 @@ enum { int ps8640_init(uint8_t bus, uint8_t chip); int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out); #endif - -- cgit v1.2.3