drm/i2c: tda998x: get rid of private fill_modes function
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 Aug 2018 09:27:15 +0000 (10:27 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Aug 2018 09:32:03 +0000 (10:32 +0100)
commita3d335f5de7cdd714737a9f8bdcc7b205b0f8d5e
tree5b1a72bc9b64b8e071de6819d1148c4ada68847b
parentb073a70ecd37bc6e7c25a47315cd8d65e7b313fd
drm/i2c: tda998x: get rid of private fill_modes function

We can achieve the same effect via the get_modes() method, rather than
wrapping the fill_modes helper.

Tested-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c