]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_cht_int33fe: Set driver data
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 19 May 2022 12:21:03 +0000 (15:21 +0300)
committerHans de Goede <hdegoede@redhat.com>
Thu, 19 May 2022 17:42:44 +0000 (19:42 +0200)
commit18ddad9d5ad674ef82ab2f21b7eb07d70d1588c4
treedaec1ca149f35bb55ddc01a7b45d3778684b510f
parente4b89a955f3998ce08bb25d32f4ccf37b544ba50
platform/x86: intel_cht_int33fe: Set driver data

Module removal fails because cht_int33fe_typec_remove()
tries to access driver data that does not exist. Fixing by
assigning the data at the end of probe.

Fixes: 71325a257719 ("platform/x86: intel_cht_int33fe: Switch to DMI modalias based loading")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20220519122103.78546-1-heikki.krogerus@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/chtwc_int33fe.c