Home
last modified time | relevance | path

Searched refs:cc770_isa_devs (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/can/cc770/
H A Dcc770_isa.c110 static struct platform_device *cc770_isa_devs[MAXDEV]; variable
320 for (idx = 0; idx < ARRAY_SIZE(cc770_isa_devs); idx++) { in cc770_isa_init()
322 cc770_isa_devs[idx] = in cc770_isa_init()
324 if (!cc770_isa_devs[idx]) { in cc770_isa_init()
328 err = platform_device_add(cc770_isa_devs[idx]); in cc770_isa_init()
330 platform_device_put(cc770_isa_devs[idx]); in cc770_isa_init()
353 if (cc770_isa_devs[idx]) in cc770_isa_init()
354 platform_device_unregister(cc770_isa_devs[idx]); in cc770_isa_init()
366 for (idx = 0; idx < ARRAY_SIZE(cc770_isa_devs); idx++) { in cc770_isa_exit()
367 if (cc770_isa_devs[idx]) in cc770_isa_exit()
[all …]