[PATCH] Driver core: change device_attribute callbacks