Remove S_IWOTH from the argument mode of DEVICE_ATTR.