samples: ipm_imx: drop device_get_binding

Use DEVICE_DT_GET.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-04-26 07:45:21 -07:00 committed by Carles Cufí
commit 8d0974a929

View file

@ -33,8 +33,8 @@ void main(void)
{
const struct device *ipm;
ipm = device_get_binding("MU_B");
if (!ipm) {
ipm = DEVICE_DT_GET(DT_NODELABEL(mub));
if (!device_is_ready(ipm)) {
while (1) {
}
}