kernel-ark/drivers/nfc/nfcmrvl
Johan Hovold 0d1ca88bbf NFC: nfcmrvl_usb: use interface as phy device
Use the USB-interface rather than parent USB-device device, which is
what this driver binds to, when registering the nci device.

Note that using the right device is important when dealing with device-
managed resources as the interface can be unbound independently of the
parent device.

Also note that private device pointer had already been set by
nfcmrvl_nci_register_dev() so the redundant assignment can therefore be
removed.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-06-18 23:57:59 +02:00
..
fw_dnld.c NFC: nfcmrvl: use nfc-device for firmware download 2017-06-18 23:57:59 +02:00
fw_dnld.h
i2c.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
Kconfig
main.c NFC: nfcmrvl: fix firmware-management initialisation 2017-06-18 23:57:59 +02:00
Makefile
nfcmrvl.h
spi.c NFC: nfcmrvl: double free on error path 2017-04-02 00:09:17 +02:00
uart.c NFC: nfcmrvl_uart: fix device-node leak during probe 2017-06-18 23:57:59 +02:00
usb.c NFC: nfcmrvl_usb: use interface as phy device 2017-06-18 23:57:59 +02:00