summaryrefslogtreecommitdiffstats
path: root/drivers/ptp/ptp_qoriq.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-05-27 21:04:52 +0200
committerMarcel Holtmann <marcel@holtmann.org>2018-05-30 08:47:42 +0200
commite9ca08074ddcdcc3abacbfca888dba3a110e4453 (patch)
tree8f7a3c087c647e3600d5b62bc98b15786e60e0bd /drivers/ptp/ptp_qoriq.c
parentBluetooth: hci_uart: Restore hci_dev->flush callback on open() (diff)
downloadlinux-e9ca08074ddcdcc3abacbfca888dba3a110e4453.tar.xz
linux-e9ca08074ddcdcc3abacbfca888dba3a110e4453.zip
Bluetooth: hci_serdev: Move serdev_device_close/open into common hci_serdev code
Make hci_uart_register_device() and hci_uart_unregister_device() call serdev_device_close()/open() themselves instead of relying on the various hci_uart drivers to do this for them. Besides reducing code complexity, this also ensures correct error checking of serdev_device_open(), which was missing in a few drivers. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/ptp/ptp_qoriq.c')
0 files changed, 0 insertions, 0 deletions