qed: Replace set_id() api with set_name()
Current API between qed and protocol modules allows passing an additional private string - but it doesn't get utilized by qed anywhere. Clarify the API by removing it and renaming it 'set_name'. CC: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6bc9f234ff
commit
712c3cbf19
@@ -520,9 +520,7 @@ struct qed_common_ops {
|
||||
int (*set_power_state)(struct qed_dev *cdev,
|
||||
pci_power_t state);
|
||||
|
||||
void (*set_id)(struct qed_dev *cdev,
|
||||
char name[],
|
||||
char ver_str[]);
|
||||
void (*set_name) (struct qed_dev *cdev, char name[]);
|
||||
|
||||
/* Client drivers need to make this call before slowpath_start.
|
||||
* PF params required for the call before slowpath_start is
|
||||
|
Reference in New Issue
Block a user