ti/am335x: Fix the device_set_descf() call in dmtpps_probe()

Fixes:	459dc61c8b ("arm: Convert drivers to use device_set_desc(f)()")
This commit is contained in:
Mark Johnston 2024-06-09 09:49:49 -04:00
parent 2671bde992
commit 3ce9b2ee94

View file

@ -434,7 +434,7 @@ dmtpps_probe(device_t dev)
if (dmtpps_tmr_num != tmr_num)
return (ENXIO);
device_set_descf("AM335x PPS-Capture DMTimer%d", tmr_num);
device_set_descf(dev, "AM335x PPS-Capture DMTimer%d", tmr_num);
return(BUS_PROBE_DEFAULT);
}