Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lad, Prabhakar and committed by
Tomi Valkeinen
f6535d21 0d772056

-17
-17
drivers/video/fbdev/ssd1307fb.c
··· 122 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 125 static void ssd1307fb_update_display(struct ssd1307fb_par *par) 143 126 { 144 127 struct ssd1307fb_array *array;