summaryrefslogtreecommitdiff
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-23 17:55:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 05:04:13 +0300
commitc202beee7f4b2b4f363e21fea714c8afcb08b12e (patch)
treec2bfcbd78b8840f5732ec78cbf38a4f4331e587e /drivers/staging/sm750fb/sm750.h
parent9b2941e27e364c2c3ef7731dab9c7c8564acb690 (diff)
downloadlinux-c202beee7f4b2b4f363e21fea714c8afcb08b12e.tar.xz
staging: sm750fb: replace lynx_crtc methods with function calls
The methods in lynx_crtc always use 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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index c18806173410..6f5e09d259aa 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -104,16 +104,6 @@ struct lynxfb_crtc {
void *priv;
- int (*proc_setMode)(struct lynxfb_crtc*,
- struct fb_var_screeninfo*,
- struct fb_fix_screeninfo*);
-
- int (*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
- int (*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
- /* pan display */
- int (*proc_panDisplay)(struct lynxfb_crtc *,
- const struct fb_var_screeninfo *,
- const struct fb_info *);
/* cursor information */
struct lynx_cursor cursor;
};