As with OHCI, the module name and device name differ, so to
coldplug a MODULE_ALIAS is needed. Plus cope with a recent
API change, removing compile warnings (and oops if you use
the sysfs attributes).
Use DRIVER_NAME more, including as a MODULE_ALIAS so that coldplug
can work by scanning /sys/devices/platform and just modprobing.
Cope with some driver model changes that promote shared attribute
methods.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.ne> Signed-off-by: Tony Lindgren <tony@atomide.com>