The patch titled add-v3020-rtc-support-tidy has been removed from the -mm tree. Its filename is add-v3020-rtc-support-tidy.patch This patch was dropped because it was folded into add-v3020-rtc-support.patch ------------------------------------------------------ Subject: add-v3020-rtc-support-tidy From: Andrew Morton <akpm@xxxxxxxx> Cc: Raphael Assenat <raph@xxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/rtc/rtc-v3020.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff -puN drivers/rtc/rtc-v3020.c~add-v3020-rtc-support-tidy drivers/rtc/rtc-v3020.c --- devel/drivers/rtc/rtc-v3020.c~add-v3020-rtc-support-tidy 2006-06-06 16:03:45.000000000 -0700 +++ devel-akpm/drivers/rtc/rtc-v3020.c 2006-06-06 16:03:45.000000000 -0700 @@ -37,22 +37,22 @@ struct v3020 { struct rtc_device *rtc; }; -static void v3020_set_reg(struct v3020 *chip, unsigned char address, unsigned char data) +static void v3020_set_reg(struct v3020 *chip, unsigned char address, + unsigned char data) { int i; unsigned char tmp; tmp = address; - for (i=0; i<4; i++) { - writel( (tmp & 1) << chip->leftshift , chip->ioaddress); + for (i = 0; i < 4; i++) { + writel((tmp & 1) << chip->leftshift, chip->ioaddress); tmp >>= 1; } /* Commands dont have data */ - if (!V3020_IS_COMMAND(address)) - { - for (i=0; i<8; i++) { - writel( (data & 1) << chip->leftshift, chip->ioaddress); + if (!V3020_IS_COMMAND(address)) { + for (i = 0; i < 8; i++) { + writel((data & 1) << chip->leftshift, chip->ioaddress); data >>= 1; } } @@ -63,16 +63,15 @@ static unsigned char v3020_get_reg(struc unsigned int data=0; int i; - for (i=0; i<4; i++) { - writel((address & 1) << chip->leftshift , chip->ioaddress); + for (i = 0; i < 4; i++) { + writel((address & 1) << chip->leftshift, chip->ioaddress); address >>= 1; } - for (i=0; i<8; i++) { + for (i = 0; i < 8; i++) { data >>= 1; - if (readl(chip->ioaddress) & (1 << chip->leftshift)) { + if (readl(chip->ioaddress) & (1 << chip->leftshift)) data |= 0x80; - } } return data; @@ -184,7 +183,7 @@ static int rtc_probe(struct platform_dev /* Make sure the v3020 expects a communication cycle * by reading 8 times */ - for(i=0;i<8;i++) + for (i = 0; i < 8; i++) temp = readl(chip->ioaddress); /* Test chip by doing a write/read sequence @@ -214,7 +213,6 @@ static int rtc_probe(struct platform_dev } chip->rtc = rtc; - return 0; err_io: _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch remove-for_each_cpu.patch more-for_each_cpu-removal.patch disable-debugging-version-of-write_lock.patch rewritten-backlight-infrastructure-for-portable-apple-computers.patch ufs-printk-warning-fixes.patch msnd-section-fix.patch openpromfs-factorize-out.patch add-driver-for-arm-amba-pl031-rtc.patch kernel-sysc-cleanups.patch cpqarray-section-fix.patch pdflush-handle-resume-wakeups.patch schedule_on_each_cpu-reduce-kmalloc-size.patch ax88796-parallel-port-driver.patch for_each_cpu_mask-warning-fix.patch add-max6902-rtc-support.patch add-v3020-rtc-support.patch add-v3020-rtc-support-tidy.patch at91rm9200-rtc-driver-tidy.patch rtc-add-rtc-ds1553-driver-tidy.patch rtc-add-rtc-ds1553-driver-fix.patch rtc-add-rtc-ds1742-driver-tidy.patch rtc-add-rtc-ds1742-driver-fix.patch readahead-backoff-on-i-o-error-tweaks.patch cyclades-cleanup-cleanup.patch fuse-add-control-filesystem-get_sb_single-fix.patch fuse-add-control-filesystem-printk-fix.patch kthread-update-loopc-to-use-kthread-fix.patch kthread-convert-smbiod-tidy.patch kthread-convert-stop_machine-into-a-kthread.patch fix-bounds-check-in-vsnprintf-to-allow-for-a-0-size-and-tidy.patch irda-usb-printk-fix.patch add-receive_room-flow-control-to-flush_to_ldisc-tidy.patch reiserfs-on-demand-bitmap-loading-fix.patch cpu-hotplug-make-cpu_notifier-related-notifier-calls-__cpuinit-only-fix-fix.patch per-task-delay-accounting-proc-export-of-aggregated-block-i-o-delays-warning-fix.patch add-via-hw-rng-driver-fix.patch add-bcm43xx-hw-rng-support-locking-update.patch hangcheck-remove-monotomic_clock-on-x86.patch sched-fix-smt-nice-lock-contention-and-optimization-tidy.patch swap_prefetch-vs-zoned-counters.patch pi-futex-rt-mutex-tester-fix.patch rtmutex-propagate-priority-settings-into-pi-lock-chains-fix.patch mark-address_space_operations-const-vs-ecryptfs-mmap-operations.patch ecryptfs-alpha-build-fix.patch ecryptfs-more-elegant-aes-key-size-manipulation-tidy.patch ecryptfs-get_sb_dev-fix.patch namespaces-add-nsproxy-dont-include-compileh.patch namespaces-utsname-switch-to-using-uts-namespaces-alpha-fix.patch namespaces-utsname-use-init_utsname-when-appropriate-cifs-update.patch namespaces-utsname-implement-utsname-namespaces-export.patch namespaces-utsname-implement-utsname-namespaces-dont-include-compileh.patch namespaces-utsname-sysctl-hack-cleanup-2-fix.patch ipc-namespace-core-fix.patch task-watchers-task-watchers-tidy.patch task-watchers-add-support-for-per-task-watchers-warning-fix.patch readahead-sysctl-parameters-fix.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4-hardirq-include-fix.patch reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch reiser4-get_sb_dev-fix.patch reiser4-vs-zoned-allocator.patch hpt3xx-rework-rate-filtering-tidy.patch savagefb-add-state-save-and_restore-hooks-tidy.patch au1100fb-add-power-management-support-tidy.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