diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-01-12 14:21:14 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-01-15 06:24:57 -0500 |
commit | f6535d21e388a3f543fadfabab65e0eda413b2b2 (patch) | |
tree | 7877e64d5f30a9a09501db9d2103e225e8e5cd0e /drivers/video | |
parent | 0d77205688cd723dcbb4d6993fb4265e29705353 (diff) |
fbdev: ssd1307fb: drop unused function ssd1307fb_write_data()
this patch drops the unused function ssd1307fb_write_data().
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/ssd1307fb.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index f4daa59f0a80..31d845bf79a8 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++ b/drivers/video/fbdev/ssd1307fb.c | |||
@@ -122,23 +122,6 @@ static inline int ssd1307fb_write_cmd(struct i2c_client *client, u8 cmd) | |||
122 | return ret; | 122 | return ret; |
123 | } | 123 | } |
124 | 124 | ||
125 | static inline int ssd1307fb_write_data(struct i2c_client *client, u8 data) | ||
126 | { | ||
127 | struct ssd1307fb_array *array; | ||
128 | int ret; | ||
129 | |||
130 | array = ssd1307fb_alloc_array(1, SSD1307FB_DATA); | ||
131 | if (!array) | ||
132 | return -ENOMEM; | ||
133 | |||
134 | array->data[0] = data; | ||
135 | |||
136 | ret = ssd1307fb_write_array(client, array, 1); | ||
137 | kfree(array); | ||
138 | |||
139 | return ret; | ||
140 | } | ||
141 | |||
142 | static void ssd1307fb_update_display(struct ssd1307fb_par *par) | 125 | static void ssd1307fb_update_display(struct ssd1307fb_par *par) |
143 | { | 126 | { |
144 | struct ssd1307fb_array *array; | 127 | struct ssd1307fb_array *array; |