summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-23 17:55:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:04:13 -0700
commit9821ed04795f019bfa14573847c743c6b89d96c4 (patch)
tree99ea70ee702241bf065a7ee7c4f3e2c00530f6a2 /drivers/staging/sm750fb/sm750.h
parentc202beee7f4b2b4f363e21fea714c8afcb08b12e (diff)
downloadop-kernel-dev-9821ed04795f019bfa14573847c743c6b89d96c4.zip
op-kernel-dev-9821ed04795f019bfa14573847c743c6b89d96c4.tar.gz
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 6f5e09d..bf905aa 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);
};
OpenPOWER on IntegriCloud