I want to write a function in my custom kernel module, which can perform \'traverse through all devices attached to system and get their