[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240111070506.9516-1-chenguohua_716@163.com>
Date: Thu, 11 Jan 2024 07:05:06 +0000
From: GuoHua Chen <chenguohua_716@....com>
To: tzimmermann@...e.de,
airlied@...il.com,
maarten.lankhorst@...ux.intel.com,
daniel@...ll.ch,
mripard@...nel.org,
patrik.r.jakobsson@...il.com
Cc: linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
GuoHua Chen <chenguohua_716@....com>
Subject: [PATCH] drm/gma500: Clean up errors in opregion.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: GuoHua Chen <chenguohua_716@....com>
---
drivers/gpu/drm/gma500/opregion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/gma500/opregion.c b/drivers/gpu/drm/gma500/opregion.c
index 0c271072af63..ff6632826376 100644
--- a/drivers/gpu/drm/gma500/opregion.c
+++ b/drivers/gpu/drm/gma500/opregion.c
@@ -211,7 +211,7 @@ void psb_intel_opregion_enable_asle(struct drm_device *dev)
struct drm_psb_private *dev_priv = to_drm_psb_private(dev);
struct opregion_asle *asle = dev_priv->opregion.asle;
- if (asle && system_opregion ) {
+ if (asle && system_opregion) {
/* Don't do this on Medfield or other non PC like devices, they
use the bit for something different altogether */
gma_enable_pipestat(dev_priv, 0, PIPE_LEGACY_BLC_EVENT_ENABLE);
--
2.17.1
Powered by blists - more mailing lists