Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/atombios: drop empty function

This was leftover from when amdgpu was forked from radeon.
The function is empty so drop it.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

-12
-12
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
··· 36 36 #include "atombios_encoders.h" 37 37 #include "bif/bif_4_1_d.h" 38 38 39 - static void amdgpu_atombios_lookup_i2c_gpio_quirks(struct amdgpu_device *adev, 40 - ATOM_GPIO_I2C_ASSIGMENT *gpio, 41 - u8 index) 42 - { 43 - 44 - } 45 - 46 39 static struct amdgpu_i2c_bus_rec amdgpu_atombios_get_bus_rec_for_i2c_gpio(ATOM_GPIO_I2C_ASSIGMENT *gpio) 47 40 { 48 41 struct amdgpu_i2c_bus_rec i2c; ··· 101 108 102 109 gpio = &i2c_info->asGPIO_Info[0]; 103 110 for (i = 0; i < num_indices; i++) { 104 - 105 - amdgpu_atombios_lookup_i2c_gpio_quirks(adev, gpio, i); 106 - 107 111 if (gpio->sucI2cId.ucAccess == id) { 108 112 i2c = amdgpu_atombios_get_bus_rec_for_i2c_gpio(gpio); 109 113 break; ··· 132 142 133 143 gpio = &i2c_info->asGPIO_Info[0]; 134 144 for (i = 0; i < num_indices; i++) { 135 - amdgpu_atombios_lookup_i2c_gpio_quirks(adev, gpio, i); 136 - 137 145 i2c = amdgpu_atombios_get_bus_rec_for_i2c_gpio(gpio); 138 146 139 147 if (i2c.valid) {