summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-03-23 18:36:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 18:53:30 +0300
commit971d080212be4ce2b91047d25a657f46d3e39635 (patch)
tree785f730f1b9c23fa5283b22cce50e0d594b2fea0 /include
parent50a318cc9b54a36f00beadf77e578a50f3620477 (diff)
downloadlinux-971d080212be4ce2b91047d25a657f46d3e39635.tar.xz
usb: gadget: pch_udc: Initialize device pointer before use
During conversion to use GPIO descriptors the device pointer, which is applied to devm_gpiod_get(), is not yet initialized. Move initialization in the ->probe() in order to have it set before use. Fixes: e20849a8c883 ("usb: gadget: pch_udc: Convert to use GPIO descriptors") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210323153626.54908-6-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions