Removed unneccessary init_static_map calls and put one in device_open