[DRIVERS] More linux compatible driver model APIs

Few linux-like driver model APIs such as class_register(),
class_unregister(), device_register(), and device_unregister()
were missing from linux compatiblity headers hence this patch.

Signed-off-by: Pranav Sawargaonkar <pranav.sawargaonkar@gmail.com>