Avoid opening and closing hw_node everytime on ioctl