driver core: class: make class_register() take a const *