driver-core: make devt_attr and uevent_attr static