commit | 2143adb04b357e192a9717a42554b1fd65c60fd2 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Thu Aug 02 10:25:19 2018 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Tue Aug 07 10:32:03 2018 +0100 |
tree | bcad138acfe189b3c9b331ae66d2e93be0149665 | |
parent | 30bd8b862f5466fe5aee9a9fcdaea5a4fad83f91 [diff] |
drm/i2c: tda998x: allocate tda998x_priv inside tda998x_create() Move the tda998x_priv allocation inside tda998x_create() and simplify the tda998x_create()'s arguments. Pass the same to tda998x_destroy(). Tested-by: Peter Rosin <peda@axentia.se> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>