mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiaqi Shi <shijiaqi_develop@163.com>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
	gregkh@linuxfoundation.org
Cc: linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Jiaqi Shi <shijiaqi_develop@163.com>
Subject: [PATCH 3/3] staging: sm750fb: remove duplicate SM750LE_REVISION_ID definition
Date: Thu, 19 Nov 2026 22:06:20 +0800	[thread overview]
Message-ID: <20261119140620.169368-4-shijiaqi_develop@163.com> (raw)
In-Reply-To: <20261119140620.169368-1-shijiaqi_develop@163.com>

sm750.h includes ddk750_chip.h, which already defines
SM750LE_REVISION_ID. Remove the redundant conditional definition from
sm750.h.

Signed-off-by: Jiaqi Shi <shijiaqi_develop@163.com>
---
 drivers/staging/sm750fb/sm750.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index ea8f445b5fd4..32f58bd7b547 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -7,9 +7,6 @@
 
 #define DEFAULT_SM750_CHIP_CLOCK	290
 #define DEFAULT_SM750LE_CHIP_CLOCK	333
-#ifndef SM750LE_REVISION_ID
-#define SM750LE_REVISION_ID ((unsigned char)0xfe)
-#endif
 
 enum sm750_pnltype {
 	SM750_24TFT = 0,	/* 24bit tft */
-- 
2.53.0


      parent reply	other threads:[~2026-11-19 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 14:06 [PATCH 0/3] staging: sm750fb: remove dead code and redundant definitions Jiaqi Shi
2026-11-19 14:06 ` [PATCH 1/3] staging: sm750fb: remove unused MHZ macro Jiaqi Shi
2026-11-19 14:06 ` [PATCH 2/3] staging: sm750fb: remove more unused struct fields Jiaqi Shi
2026-11-19 14:06 ` Jiaqi Shi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261119140620.169368-4-shijiaqi_develop@163.com \
    --to=shijiaqi_develop@163.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=teddy.wang@siliconmotion.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®