commit | 21240f9bc1b0ac925cd18b74618327a110022332 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Mon Nov 21 12:41:21 2011 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Tue Nov 22 20:10:28 2011 +0000 |
tree | ef5496cbf9dbd7f5032f0a8d7d7c9646efbd58a4 | |
parent | d724502a9d7a46f4a56a1663b1f50d2dc9d1ef40 [diff] |
drm/radeon/kms/atom: unify i2c gpio table handling 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 <alexander.deucher@amd.com> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Dave Airlie <airlied@redhat.com>