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

video: fbdev: sa1100fb: Remove unused sa1100fb_setup()

sa1100fb_setup() has been unused since the beginning of Linux git
history.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Geert Uytterhoeven and committed by
Helge Deller
bf64b99c 2194f957

-41
-41
drivers/video/fbdev/sa1100fb.c
··· 1224 1224 return platform_driver_register(&sa1100fb_driver); 1225 1225 } 1226 1226 1227 - int __init sa1100fb_setup(char *options) 1228 - { 1229 - #if 0 1230 - char *this_opt; 1231 - 1232 - if (!options || !*options) 1233 - return 0; 1234 - 1235 - while ((this_opt = strsep(&options, ",")) != NULL) { 1236 - 1237 - if (!strncmp(this_opt, "bpp:", 4)) 1238 - current_par.max_bpp = 1239 - simple_strtoul(this_opt + 4, NULL, 0); 1240 - 1241 - if (!strncmp(this_opt, "lccr0:", 6)) 1242 - lcd_shadow.lccr0 = 1243 - simple_strtoul(this_opt + 6, NULL, 0); 1244 - if (!strncmp(this_opt, "lccr1:", 6)) { 1245 - lcd_shadow.lccr1 = 1246 - simple_strtoul(this_opt + 6, NULL, 0); 1247 - current_par.max_xres = 1248 - (lcd_shadow.lccr1 & 0x3ff) + 16; 1249 - } 1250 - if (!strncmp(this_opt, "lccr2:", 6)) { 1251 - lcd_shadow.lccr2 = 1252 - simple_strtoul(this_opt + 6, NULL, 0); 1253 - current_par.max_yres = 1254 - (lcd_shadow. 1255 - lccr0 & LCCR0_SDS) ? ((lcd_shadow. 1256 - lccr2 & 0x3ff) + 1257 - 1) * 1258 - 2 : ((lcd_shadow.lccr2 & 0x3ff) + 1); 1259 - } 1260 - if (!strncmp(this_opt, "lccr3:", 6)) 1261 - lcd_shadow.lccr3 = 1262 - simple_strtoul(this_opt + 6, NULL, 0); 1263 - } 1264 - #endif 1265 - return 0; 1266 - } 1267 - 1268 1227 module_init(sa1100fb_init); 1269 1228 MODULE_DESCRIPTION("StrongARM-1100/1110 framebuffer driver"); 1270 1229 MODULE_LICENSE("GPL");