]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: s3c64xx: squash samsung_usb_phy.h into setup-usb-phy.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 19 Aug 2019 15:56:02 +0000 (00:56 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 21 Aug 2019 17:50:40 +0000 (19:50 +0200)
commitd1dec5ca5fb87d64d1e7405bd6006728915ea5c6
tree9cf4f9f8df37c7c8e4127ecd282cb49e138c7685
parent1fa70c7f49132513fb0da4afa7643395eedc7d35
ARM: s3c64xx: squash samsung_usb_phy.h into setup-usb-phy.c

This is only used by arch/arm/mach-s3c64xx/setup-usb-phy.c

$ git grep samsung_usb_phy_type
include/linux/usb/samsung_usb_phy.h:enum samsung_usb_phy_type {
$ git grep USB_PHY_TYPE_DEVICE
arch/arm/mach-s3c64xx/setup-usb-phy.c:  if (type == USB_PHY_TYPE_DEVICE)
arch/arm/mach-s3c64xx/setup-usb-phy.c:  if (type == USB_PHY_TYPE_DEVICE)
include/linux/usb/samsung_usb_phy.h:    USB_PHY_TYPE_DEVICE,
$ git grep USB_PHY_TYPE_HOST
include/linux/usb/samsung_usb_phy.h:    USB_PHY_TYPE_HOST,

Actually, 'enum samsung_usb_phy_type' is unused; the 'type' parameter
has 'int' type. Anyway, there is no need to declare this enum in the
globally visible header. Squash the header.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c64xx/setup-usb-phy.c
arch/arm/plat-samsung/include/plat/usb-phy.h
include/linux/usb/samsung_usb_phy.h [deleted file]