]> Git Repo - linux.git/commitdiff
auxdisplay: Remove unused functions
authorDr. David Alan Gilbert <[email protected]>
Sun, 6 Oct 2024 22:55:11 +0000 (23:55 +0100)
committerAndy Shevchenko <[email protected]>
Tue, 8 Oct 2024 17:48:18 +0000 (20:48 +0300)
cfag12864b_getrate() and cfag12864b_isenabled() were both added
in commit 70e840499aae ("[PATCH] drivers: add LCD support")
but never used.

Remove them.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Miguel Ojeda <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
drivers/auxdisplay/cfag12864b.c
include/linux/cfag12864b.h

index 6526aa51fb1d7511fb1f5757a32b2f9395dc8efc..e1a94ae3eb0c36d88188b82eca76150452bac39e 100644 (file)
@@ -37,11 +37,6 @@ module_param(cfag12864b_rate, uint, 0444);
 MODULE_PARM_DESC(cfag12864b_rate,
        "Refresh rate (hertz)");
 
-unsigned int cfag12864b_getrate(void)
-{
-       return cfag12864b_rate;
-}
-
 /*
  * cfag12864b Commands
  *
@@ -249,11 +244,6 @@ void cfag12864b_disable(void)
        mutex_unlock(&cfag12864b_mutex);
 }
 
-unsigned char cfag12864b_isenabled(void)
-{
-       return cfag12864b_updating;
-}
-
 static void cfag12864b_update(struct work_struct *work)
 {
        unsigned char c;
@@ -293,10 +283,8 @@ static void cfag12864b_update(struct work_struct *work)
  */
 
 EXPORT_SYMBOL_GPL(cfag12864b_buffer);
-EXPORT_SYMBOL_GPL(cfag12864b_getrate);
 EXPORT_SYMBOL_GPL(cfag12864b_enable);
 EXPORT_SYMBOL_GPL(cfag12864b_disable);
-EXPORT_SYMBOL_GPL(cfag12864b_isenabled);
 
 /*
  * Is the module inited?
index 6617d9c68d863b126e9f94e4043efe6316f656e4..83e6613d12ae66c656a540c944aa9e5f06b8c2d6 100644 (file)
  */
 extern unsigned char * cfag12864b_buffer;
 
-/*
- * Get the refresh rate of the LCD
- *
- * Returns the refresh rate (hertz).
- */
-extern unsigned int cfag12864b_getrate(void);
-
 /*
  * Enable refreshing
  *
@@ -49,16 +42,6 @@ extern unsigned char cfag12864b_enable(void);
  */
 extern void cfag12864b_disable(void);
 
-/*
- * Is enabled refreshing? (is anyone using the module?)
- *
- * Returns 0 if refreshing is not enabled (anyone is using it),
- * or != 0 if refreshing is enabled (someone is using it).
- *
- * Useful for buffer read-only modules.
- */
-extern unsigned char cfag12864b_isenabled(void);
-
 /*
  * Is the module inited?
  */
This page took 0.061349 seconds and 4 git commands to generate.