OSDN Git Service

platform/x86: x86-android-tablets: Don't return -EPROBE_DEFER from a non probe()...
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 Dec 2021 23:14:23 +0000 (00:14 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 5 Jan 2022 10:31:18 +0000 (11:31 +0100)
commitfc64a2b21603dc1e1bae6f34b4bccfadc992894f
tree49ad336873fb433efb174c2fd27ac1b5942526c7
parent7a4af4b891b875b50ddfeb9b566fcc454744ab04
platform/x86: x86-android-tablets: Don't return -EPROBE_DEFER from a non probe() function

The x86-android-tablets code all runs from module_init, so returning
-EPROBE_DEFER is not appropriate. Instead log an error and bail.

This path should never get hit since PINCTRL_BAYTRAIL is a bool.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211229231431.437982-5-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets.c