drivers: remove redundant DEV_NAME helpers
Just use dev->name. This change follow same principles applied when DEV_CFG and DEV_DATA macros were removed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
fc4016a113
commit
9953c194b9
21 changed files with 25 additions and 67 deletions
|
@ -94,8 +94,6 @@ struct eth_gecko_dev_data {
|
|||
bool link_up;
|
||||
};
|
||||
|
||||
#define DEV_NAME(dev) ((dev)->name)
|
||||
|
||||
/* PHY Management pins */
|
||||
#define PIN_PHY_MDC {DT_INST_PROP_BY_IDX(0, location_phy_mdc, 1), \
|
||||
DT_INST_PROP_BY_IDX(0, location_phy_mdc, 2), gpioModePushPull,\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue