mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
auxdisplay: Remove unused functions
cfag12864b_getrate() and cfag12864b_isenabled() were both added
in commit 70e840499a
("[PATCH] drivers: add LCD support")
but never used.
Remove them.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
e6fc7ef72b
commit
0b028ff7e7
@ -37,11 +37,6 @@ module_param(cfag12864b_rate, uint, 0444);
|
|||||||
MODULE_PARM_DESC(cfag12864b_rate,
|
MODULE_PARM_DESC(cfag12864b_rate,
|
||||||
"Refresh rate (hertz)");
|
"Refresh rate (hertz)");
|
||||||
|
|
||||||
unsigned int cfag12864b_getrate(void)
|
|
||||||
{
|
|
||||||
return cfag12864b_rate;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* cfag12864b Commands
|
* cfag12864b Commands
|
||||||
*
|
*
|
||||||
@ -249,11 +244,6 @@ void cfag12864b_disable(void)
|
|||||||
mutex_unlock(&cfag12864b_mutex);
|
mutex_unlock(&cfag12864b_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char cfag12864b_isenabled(void)
|
|
||||||
{
|
|
||||||
return cfag12864b_updating;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void cfag12864b_update(struct work_struct *work)
|
static void cfag12864b_update(struct work_struct *work)
|
||||||
{
|
{
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
@ -293,10 +283,8 @@ static void cfag12864b_update(struct work_struct *work)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(cfag12864b_buffer);
|
EXPORT_SYMBOL_GPL(cfag12864b_buffer);
|
||||||
EXPORT_SYMBOL_GPL(cfag12864b_getrate);
|
|
||||||
EXPORT_SYMBOL_GPL(cfag12864b_enable);
|
EXPORT_SYMBOL_GPL(cfag12864b_enable);
|
||||||
EXPORT_SYMBOL_GPL(cfag12864b_disable);
|
EXPORT_SYMBOL_GPL(cfag12864b_disable);
|
||||||
EXPORT_SYMBOL_GPL(cfag12864b_isenabled);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Is the module inited?
|
* Is the module inited?
|
||||||
|
@ -27,13 +27,6 @@
|
|||||||
*/
|
*/
|
||||||
extern unsigned char * cfag12864b_buffer;
|
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
|
* Enable refreshing
|
||||||
*
|
*
|
||||||
@ -49,16 +42,6 @@ extern unsigned char cfag12864b_enable(void);
|
|||||||
*/
|
*/
|
||||||
extern void cfag12864b_disable(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?
|
* Is the module inited?
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user