aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-12-28 18:01:38 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2022-05-13 17:03:40 +0900
commit019c34aaa85895a15962e4cf65e99f812848e44f (patch)
tree79c30ead9072f3e92e059a46cd3fa2f10bf706de /drivers/extcon
parentextcon: Fix extcon_get_extcon_dev() error handling (diff)
downloadlinux-dev-019c34aaa85895a15962e4cf65e99f812848e44f.tar.xz
linux-dev-019c34aaa85895a15962e4cf65e99f812848e44f.zip
extcon: int3496: Make the driver a bit less verbose
On all devices which I have with an INT3496 ACPI device, there is only an ID pin defined. Change the log-messages about not being able to get GPIOs for "VBUS EN" and "USB MUX" to use dev_dbg(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-intel-int3496.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-intel-int3496.c b/drivers/extcon/extcon-intel-int3496.c
index fb527c23639e..df6ab4ef46f5 100644
--- a/drivers/extcon/extcon-intel-int3496.c
+++ b/drivers/extcon/extcon-intel-int3496.c
@@ -121,11 +121,11 @@ static int int3496_probe(struct platform_device *pdev)
data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS);
if (IS_ERR(data->gpio_vbus_en))
- dev_info(dev, "can't request VBUS EN GPIO\n");
+ dev_dbg(dev, "can't request VBUS EN GPIO\n");
data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS);
if (IS_ERR(data->gpio_usb_mux))
- dev_info(dev, "can't request USB MUX GPIO\n");
+ dev_dbg(dev, "can't request USB MUX GPIO\n");
/* register extcon device */
data->edev = devm_extcon_dev_allocate(dev, int3496_cable);