projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e4a2d
)
extcon: int3496: Make the driver a bit less verbose
author
Hans de Goede
<hdegoede@redhat.com>
Tue, 28 Dec 2021 17:01:38 +0000
(18:01 +0100)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Fri, 13 May 2022 08:03:40 +0000
(17:03 +0900)
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>
drivers/extcon/extcon-intel-int3496.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-intel-int3496.c
b/drivers/extcon/extcon-intel-int3496.c
index fb527c23639e80f689b0f7d2120042d6b62906bb..df6ab4ef46f5d70a02b5d08674f93fc637fe8543 100644
(file)
--- 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);