History

coresight: Remove name from platform description

We are about to use a name independent of the parent AMBA device name. As such, there is no need to have it in the platform description. Let us move this to coresight description instead.

Suzuki K Poulose committed 7 years ago

Commit 2ede79a1 parent aff70a412 files · +19 −11Browse files

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

Unified · Split

include/linux/coresight.h+4−4
@@ -91,13 +91,11 @@ union coresight_dev_subtype { · 90 unmodified lines
9191
9292 /**
9393 * struct coresight_platform_data - data harvested from the DT specification
94− * @name: name of the component as shown under sysfs.
9594 * @nr_inport: number of input ports for this component.
9695 * @nr_outport: number of output ports for this component.
9796 * @conns: Array of nr_outport connections from this component
9897 */
9998 struct coresight_platform_data {
100− const char *name;
10199 int nr_inport;
102100 int nr_outport;
103101 struct coresight_connection *conns;
@@ -108,11 +106,12 @@ struct coresight_platform_data { · 4 unmodified lines
108106 * @type: as defined by @coresight_dev_type.
109107 * @subtype: as defined by @coresight_dev_subtype.
110108 * @ops: generic operations for this component, as defined
111− by @coresight_ops.
109+ * by @coresight_ops.
112110 * @pdata: platform data collected from DT.
113111 * @dev: The device entity associated to this component.
114112 * @groups: operations specific to this component. These will end up
115− in the component's sysfs sub-directory.
113+ * in the component's sysfs sub-directory.
114+ * @name: name for the coresight device, also shown under sysfs.
116115 */
117116 struct coresight_desc {
118117 enum coresight_dev_type type;
@@ -121,6 +120,7 @@ struct coresight_desc { · 2 unmodified lines
121120 struct coresight_platform_data *pdata;
122121 struct device *dev;
123122 const struct attribute_group **groups;
123+ const char *name;
124124 };
125125
126126 /**

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