This function won't ever be called until the user echoes 0 to "enabled" and the core module calls module_put().  So The WARN_ON shouldn't be possible and indicates a programming error.