platform/x86: ideapad-laptop: remove unnecessary dev_set_drvdata() call
authorBarnabás Pőcze <pobrn@protonmail.com>
Wed, 3 Feb 2021 21:54:16 +0000 (21:54 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 09:20:01 +0000 (10:20 +0100)
commita14b3c83ab435e0a06f83a2c519ad27baf805cba
tree93eefd7ab6da1c6252bf968427d92b007116b0f7
parent60accc011af0ff869875b1ded81cbd0948267f05
platform/x86: ideapad-laptop: remove unnecessary dev_set_drvdata() call

The driver core already sets the driver specific data on
bind failure or removal. Thus the call is unnecessary.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-2-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c