Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hans de Goede and committed by
Chanwoo Choi
019c34aa 58e4a2d2

+2 -2
+2 -2
drivers/extcon/extcon-intel-int3496.c
··· 121 121 122 122 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS); 123 123 if (IS_ERR(data->gpio_vbus_en)) 124 - dev_info(dev, "can't request VBUS EN GPIO\n"); 124 + dev_dbg(dev, "can't request VBUS EN GPIO\n"); 125 125 126 126 data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS); 127 127 if (IS_ERR(data->gpio_usb_mux)) 128 - dev_info(dev, "can't request USB MUX GPIO\n"); 128 + dev_dbg(dev, "can't request USB MUX GPIO\n"); 129 129 130 130 /* register extcon device */ 131 131 data->edev = devm_extcon_dev_allocate(dev, int3496_cable);