[PATCH] drm/radeon/kms/atom: unify i2c gpio table handling

2011-11-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Split the quirks and i2c_rec assignment into separate functions used by both radeon_lookup_i2c_gpio() and radeon_atombios_i2c_init(). This avoids duplicating code and cases where quirks were only added to one of the functions. Signed-off-by: Alex Deucher Cc: Jean Delvare --

[PATCH] drm/radeon/kms/atom: unify i2c gpio table handling

2011-11-21 Thread alexdeucher
From: Alex Deucher Split the quirks and i2c_rec assignment into separate functions used by both radeon_lookup_i2c_gpio() and radeon_atombios_i2c_init(). This avoids duplicating code and cases where quirks were only added to one of the functions. Signed-off-by: Alex Deucher Cc: Jean Delvare --