summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorMike Rapoport2015-10-23 16:55:11 +0200
committerGreg Kroah-Hartman2015-10-25 03:04:13 +0100
commit9821ed04795f019bfa14573847c743c6b89d96c4 (patch)
tree99ea70ee702241bf065a7ee7c4f3e2c00530f6a2 /drivers/staging/sm750fb/sm750.h
parentstaging: sm750fb: replace lynx_crtc methods with function calls (diff)
downloadkernel-qcow2-linux-9821ed04795f019bfa14573847c743c6b89d96c4.tar.gz
kernel-qcow2-linux-9821ed04795f019bfa14573847c743c6b89d96c4.tar.xz
kernel-qcow2-linux-9821ed04795f019bfa14573847c743c6b89d96c4.zip
staging: sm750fb: use direct call to hw_sm750_output_setMode
The proc_setMode method in lynx_output always uses the same implementation and there is no point to use redirection rather than direct function call. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.h')
-rw-r--r--drivers/staging/sm750fb/sm750.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 6f5e09d259aa..bf905aa9a13f 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -125,10 +125,6 @@ struct lynxfb_output {
*/
void *priv;
- int (*proc_setMode)(struct lynxfb_output*,
- struct fb_var_screeninfo*,
- struct fb_fix_screeninfo*);
-
int (*proc_setBLANK)(struct lynxfb_output*, int);
};