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:
Gerard Marull-Paretas 2022-03-15 20:13:24 +01:00 committed by Anas Nashif
commit 9953c194b9
21 changed files with 25 additions and 67 deletions

View file

@ -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,\