]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i2c: tda998x: cleanup from previous changes
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 Aug 2018 09:25:19 +0000 (10:25 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Aug 2018 09:32:03 +0000 (10:32 +0100)
commit76767fdabadbea7dec2cdd741c0177e4fab3c75a
treeb6c338ce38155fe7f2f3d86b6546ea61d013f98e
parent2143adb04b357e192a9717a42554b1fd65c60fd2
drm/i2c: tda998x: cleanup from previous changes

Cleanup the code a little from the effects of the previous changes:
- Move tda998x_destroy() to be above tda998x_create()
- Use 'dev' directly in tda998x_create() where appropriate.

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