This patch set will unify reused switch statement updating fb_info by creating inline functions. Tested only by compilation. Matej Dujava (3): staging: sm750fb: add missing case while setting FB_VISUAL staging: sm750fb: add common function to set color offsets and visual mode staging: sm750fb: print error message with actual value drivers/staging/sm750fb/sm750.c | 150 +++++++++++++++----------------- 1 file changed, 68 insertions(+), 82 deletions(-) -- 2.26.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel