History

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.

Masahiro Yamada committed 7 years ago

Commit d1dec5c1 parent 1fa70c73 files · +5 −19Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/usb/samsung_usb_phy.h+0−17
@@ -1,17 +0,0 @@
1−// SPDX-License-Identifier: GPL-2.0+
2−/*
3− * Copyright (C) 2012 Samsung Electronics Co.Ltd
4− * http://www.samsung.com/
5− *
6− * Defines phy types for samsung usb phy controllers - HOST or DEIVCE.
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− */
13−
14−enum samsung_usb_phy_type {
15− USB_PHY_TYPE_DEVICE,
16− USB_PHY_TYPE_HOST,
17−};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t