drivers: modem: hl7800: struct device data renamed change struct device->driver_data to new name of struct device->data. Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
diff --git a/drivers/modem/hl7800.c b/drivers/modem/hl7800.c index daf8496..2533237 100644 --- a/drivers/modem/hl7800.c +++ b/drivers/modem/hl7800.c
@@ -4630,7 +4630,7 @@ static inline uint8_t *hl7800_get_mac(const struct device *dev) { - struct hl7800_iface_ctx *ctx = dev->driver_data; + struct hl7800_iface_ctx *ctx = dev->data; /* use the last 6 digits of the IMEI as the mac address */ ctx->mac_addr[0] = ictx.mdm_imei[MDM_HL7800_IMEI_STRLEN - 6]; @@ -4887,7 +4887,7 @@ static void offload_iface_init(struct net_if *iface) { const struct device *dev = net_if_get_device(iface); - struct hl7800_iface_ctx *ctx = dev->driver_data; + struct hl7800_iface_ctx *ctx = dev->data; iface->if_dev->offload = &offload_funcs; net_if_set_link_addr(iface, hl7800_get_mac(dev), sizeof(ctx->mac_addr),