register the bus with the driver core and add framework for debugfs files.