intelli_plug: Refactor intelli hotplug driver
* Thanks to @dorimanx and @alucard24 for best reference

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>