USB: phy: fsl-usb: remove character device usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jul 2020 07:29:14 +0000 (09:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Jul 2020 08:18:41 +0000 (10:18 +0200)
commit8c4a09cb1bfb84eb4acc88eb5eb5709b76403f9e
tree5f729653903d43cd1e9506e986ecca5ccf67a612
parentcc72a2ca1f2ab075d56fc38ba941c4240968f963
USB: phy: fsl-usb: remove character device usage

No idea why this driver is using a char device node, statically
allocated, with no dynamic allocation or hook up with devtmpfs, along
with a reserverd major number, for "special" operations, not all of
which ever were implemented.

So just rip it out, as no one must be using it because no modern system
will ever actually create the /dev/ node it needs.

Cc: Felipe Balbi <balbi@kernel.org>
Reviewed-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200702072914.1072878-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-fsl-usb.c
drivers/usb/phy/phy-fsl-usb.h