The patch titled imacfb-add-intel-based-macintosh-framebuffer-support tidy has been removed from the -mm tree. Its filename is imacfb-add-intel-based-macintosh-framebuffer-support-tidy.patch This patch was dropped because it was folded into imacfb-add-intel-based-macintosh-framebuffer-support.patch ------------------------------------------------------ Subject: imacfb-add-intel-based-macintosh-framebuffer-support tidy From: Andrew Morton <akpm@xxxxxxxx> - coding style tweaks - remove unneeded initialisation of statics Cc: Edgar Hucek <hostmaster@xxxxxxxxxx> Cc: Antonino Daplas <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/video/imacfb.c | 72 ++++++++++++++++++++------------------- video/Makefile | 0 2 files changed, 37 insertions(+), 35 deletions(-) diff -puN drivers/video/imacfb.c~imacfb-add-intel-based-macintosh-framebuffer-support-tidy drivers/video/imacfb.c --- a/drivers/video/imacfb.c~imacfb-add-intel-based-macintosh-framebuffer-support-tidy +++ a/drivers/video/imacfb.c @@ -51,10 +51,10 @@ static struct fb_fix_screeninfo imacfb_f .visual = FB_VISUAL_TRUECOLOR, }; -static int inverse = 0; +static int inverse; static int model = M_NEW; -static int manual_height = 0; -static int manual_width = 0; +static int manual_height; +static int manual_width; #define DEFAULT_FB_MEM 1024*1024*16 @@ -105,7 +105,7 @@ static int __init imacfb_setup(char *opt if (!*this_opt) continue; if (!strcmp(this_opt, "inverse")) - inverse=1; + inverse = 1; else if (!strcmp(this_opt, "i17")) model = M_I17; else if (!strcmp(this_opt, "i20")) @@ -142,32 +142,32 @@ static int __init imacfb_probe(struct pl screen_info.rsvd_size = 8; screen_info.rsvd_pos = 24; - switch(model) { - case M_I17: - screen_info.lfb_width = 1440; - screen_info.lfb_height = 900; - screen_info.lfb_linelength = 1472 * 4; - screen_info.lfb_base = 0x80010000; - break; - case M_NEW: - case M_I20: - screen_info.lfb_width = 1680; - screen_info.lfb_height = 1050; - screen_info.lfb_linelength = 1728 * 4; - screen_info.lfb_base = 0x80010000; - break; - case M_MINI: - screen_info.lfb_width = 1024; - screen_info.lfb_height = 768; - screen_info.lfb_linelength = 2048 * 4; - screen_info.lfb_base = 0x80000000; - break; - case M_MACBOOK: - screen_info.lfb_width = 1280; - screen_info.lfb_height = 800; - screen_info.lfb_linelength = 2048 * 4; - screen_info.lfb_base = 0x80000000; - break; + switch (model) { + case M_I17: + screen_info.lfb_width = 1440; + screen_info.lfb_height = 900; + screen_info.lfb_linelength = 1472 * 4; + screen_info.lfb_base = 0x80010000; + break; + case M_NEW: + case M_I20: + screen_info.lfb_width = 1680; + screen_info.lfb_height = 1050; + screen_info.lfb_linelength = 1728 * 4; + screen_info.lfb_base = 0x80010000; + break; + case M_MINI: + screen_info.lfb_width = 1024; + screen_info.lfb_height = 768; + screen_info.lfb_linelength = 2048 * 4; + screen_info.lfb_base = 0x80000000; + break; + case M_MACBOOK: + screen_info.lfb_width = 1280; + screen_info.lfb_height = 800; + screen_info.lfb_linelength = 2048 * 4; + screen_info.lfb_base = 0x80000000; + break; } /* if the user wants to manually specify height/width, @@ -229,8 +229,8 @@ static int __init imacfb_probe(struct pl info->screen_base = ioremap(imacfb_fix.smem_start, imacfb_fix.smem_len); if (!info->screen_base) { - printk(KERN_ERR - "imacfb: abort, cannot ioremap video memory 0x%x @ 0x%lx\n", + printk(KERN_ERR "imacfb: abort, cannot ioremap video memory " + "0x%x @ 0x%lx\n", imacfb_fix.smem_len, imacfb_fix.smem_start); err = -EIO; goto err_unmap; @@ -241,11 +241,13 @@ static int __init imacfb_probe(struct pl imacfb_fix.smem_start, info->screen_base, size_remap/1024, size_total/1024); printk(KERN_INFO "imacfb: mode is %dx%dx%d, linelength=%d, pages=%d\n", - imacfb_defined.xres, imacfb_defined.yres, imacfb_defined.bits_per_pixel, - imacfb_fix.line_length, screen_info.pages); + imacfb_defined.xres, imacfb_defined.yres, + imacfb_defined.bits_per_pixel, imacfb_fix.line_length, + screen_info.pages); imacfb_defined.xres_virtual = imacfb_defined.xres; - imacfb_defined.yres_virtual = imacfb_fix.smem_len / imacfb_fix.line_length; + imacfb_defined.yres_virtual = imacfb_fix.smem_len / + imacfb_fix.line_length; printk(KERN_INFO "imacfb: scrolling: redraw\n"); imacfb_defined.yres_virtual = imacfb_defined.yres; diff -puN drivers/video/Kconfig~imacfb-add-intel-based-macintosh-framebuffer-support-tidy drivers/video/Kconfig diff -puN drivers/video/Makefile~imacfb-add-intel-based-macintosh-framebuffer-support-tidy drivers/video/Makefile _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch hangcheck-remove-monotomic_clock-on-x86.patch savagefb-add-state-save-and_restore-hooks.patch au1100fb-add-power-management-support.patch imacfb-add-intel-based-macintosh-framebuffer-support.patch imacfb-add-intel-based-macintosh-framebuffer-support-tidy.patch vt-binding-add-sysfs-control-to-the-vt-layer-fix.patch lib-add-idr_replace-tidy.patch genirq-rename-desc-handler-to-desc-chip-power-fix.patch genirq-rename-desc-handler-to-desc-chip-ia64-fix.patch genirq-rename-desc-handler-to-desc-chip-ia64-fix-2.patch genirq-rename-desc-handler-to-desc-chip-terminate_irqs-fix.patch genirq-ia64-build-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html