Skip to content
Commit 57209ddd authored by Hans de Goede's avatar Hans de Goede
Browse files

platform/x86: msi-laptop: Add msi_scm_model_exit() helper



The probe-error-exit and remove paths both duplicate the exact same code
to undo load_scm_model_init(). Add a helper for this.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220826111453.178962-1-hdegoede@redhat.com
parent 5523632a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment