]> git.baikalelectronics.ru Git - kernel.git/commit
switchtec: Use new cdev_device_add() helper function
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 22 May 2017 21:52:24 +0000 (16:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 22 May 2017 21:52:24 +0000 (16:52 -0500)
commit48426586b519fc45c4d83efcb23a3bece8822280
treefdad52aeb6845c646f1824c2e2ba859be9557afc
parent5a344082f2bc40d04217d875f4c74743d2aa0f52
switchtec: Use new cdev_device_add() helper function

Convert from "cdev_add() + device_add()" to cdev_device_add(), and from
"device_del() + cdev_del()" to cdev_device_del().

[bhelgaas: changelog]
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/switch/switchtec.c