]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/file: wrap excessively long line
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 18 May 2020 08:34:56 +0000 (09:34 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 19 May 2020 21:31:37 +0000 (22:31 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200518083456.132248-1-emil.l.velikov@gmail.com
drivers/gpu/drm/drm_file.c

index 9b79bfc60ad77ceced9206d04803a75b62ae6d90..97f7793b693fce6b4c216fcda98477481ce23e5f 100644 (file)
@@ -342,7 +342,8 @@ static int drm_open_helper(struct file *filp, struct drm_minor *minor)
                return -EBUSY;  /* No exclusive opens */
        if (!drm_cpu_valid())
                return -EINVAL;
-       if (dev->switch_power_state != DRM_SWITCH_POWER_ON && dev->switch_power_state != DRM_SWITCH_POWER_DYNAMIC_OFF)
+       if (dev->switch_power_state != DRM_SWITCH_POWER_ON &&
+           dev->switch_power_state != DRM_SWITCH_POWER_DYNAMIC_OFF)
                return -EINVAL;
 
        DRM_DEBUG("comm=\"%s\", pid=%d, minor=%d\n", current->comm,