Module Name: src Committed By: skrll Date: Mon Dec 29 22:34:08 UTC 2014
Modified Files: src/sys/arch/arm/samsung: exynos_gpio.c exynos_i2c.c exynos_soc.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/samsung/exynos_gpio.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_i2c.c cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/samsung/exynos_soc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/samsung/exynos_gpio.c diff -u src/sys/arch/arm/samsung/exynos_gpio.c:1.11 src/sys/arch/arm/samsung/exynos_gpio.c:1.12 --- src/sys/arch/arm/samsung/exynos_gpio.c:1.11 Wed Sep 24 20:35:43 2014 +++ src/sys/arch/arm/samsung/exynos_gpio.c Mon Dec 29 22:34:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: exynos_gpio.c,v 1.11 2014/09/24 20:35:43 reinoud Exp $ */ +/* $NetBSD: exynos_gpio.c,v 1.12 2014/12/29 22:34:08 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #include "gpio.h" #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.11 2014/09/24 20:35:43 reinoud Exp $"); +__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.12 2014/12/29 22:34:08 skrll Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -244,7 +244,7 @@ static struct exynos_gpio_pin_group exyn * * MP2_0-MP2_10: 80 DRAM2 ports NOTE: GPIO registers do not control these * ports. - * + * * ETC0, ETC5, ETC6, ETC7, ETC8: 22 in/out ETC ports-JTAG, C2C_CLK (Rx), * RESET, CLOCK, USBOTG and USB3, C2C_CLK (Tx) */ @@ -381,7 +381,7 @@ exynos_gpio_config_pins(device_t self) /* if no pins available, don't proceed */ if (pin_count == 0) return; - + /* allocate pin data */ pins = kmem_zalloc(sizeof(gpio_pin_t) * pin_count, KM_SLEEP); KASSERT(pins); Index: src/sys/arch/arm/samsung/exynos_i2c.c diff -u src/sys/arch/arm/samsung/exynos_i2c.c:1.2 src/sys/arch/arm/samsung/exynos_i2c.c:1.3 --- src/sys/arch/arm/samsung/exynos_i2c.c:1.2 Tue Aug 26 11:45:49 2014 +++ src/sys/arch/arm/samsung/exynos_i2c.c Mon Dec 29 22:34:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: exynos_i2c.c,v 1.2 2014/08/26 11:45:49 reinoud Exp $ */ +/* $NetBSD: exynos_i2c.c,v 1.3 2014/12/29 22:34:08 skrll Exp $ */ /* * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ #include "exynos_iic.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: exynos_i2c.c,v 1.2 2014/08/26 11:45:49 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exynos_i2c.c,v 1.3 2014/12/29 22:34:08 skrll Exp $"); #include <sys/param.h> @@ -226,7 +226,7 @@ exynos_iic_attach_i2cbus(struct exynos_i i2c_cntr->ic_initiate_xfer = exynos_iic_initiate_xfer; i2c_cntr->ic_read_byte = exynos_iic_read_byte; i2c_cntr->ic_write_byte = exynos_iic_write_byte; - + exynos_gpio_pinset_acquire(pinset); if (ei2c_sc->isc_isgpio) { /* get sda and slc pins */ @@ -289,7 +289,7 @@ exynos_iic_bb_set_dir(void *cookie, uint flags = GPIO_PIN_INPUT | GPIO_PIN_TRISTATE; i2c_sc->isc_sda_is_output = ((bits & EXYNOS_IIC_BB_SDA_OUT) != 0); - if (i2c_sc->isc_sda_is_output) + if (i2c_sc->isc_sda_is_output) flags = GPIO_PIN_OUTPUT | GPIO_PIN_TRISTATE; exynos_gpio_pindata_ctl(&i2c_sc->isc_sda, flags); @@ -343,7 +343,7 @@ exynos_iic_send_start(void *cookie, int return EINVAL; } -static int +static int exynos_iic_send_stop(void *cookie, int flags) { struct exynos_iic_dev_softc *i2c_sc = cookie; @@ -354,7 +354,7 @@ exynos_iic_send_stop(void *cookie, int f return EINVAL; } -static int +static int exynos_iic_initiate_xfer(void *cookie, i2c_addr_t addr, int flags) { struct exynos_iic_dev_softc *i2c_sc = cookie; @@ -378,7 +378,7 @@ exynos_iic_read_byte(void *cookie, uint8 return EINVAL; } -static int +static int exynos_iic_write_byte(void *cookie, uint8_t byte, int flags) { struct exynos_iic_dev_softc *i2c_sc = cookie; Index: src/sys/arch/arm/samsung/exynos_soc.c diff -u src/sys/arch/arm/samsung/exynos_soc.c:1.25 src/sys/arch/arm/samsung/exynos_soc.c:1.26 --- src/sys/arch/arm/samsung/exynos_soc.c:1.25 Thu Oct 2 11:27:09 2014 +++ src/sys/arch/arm/samsung/exynos_soc.c Mon Dec 29 22:34:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: exynos_soc.c,v 1.25 2014/10/02 11:27:09 reinoud Exp $ */ +/* $NetBSD: exynos_soc.c,v 1.26 2014/12/29 22:34:08 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #define _ARM32_BUS_DMA_PRIVATE #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.25 2014/10/02 11:27:09 reinoud Exp $"); +__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.26 2014/12/29 22:34:08 skrll Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -72,7 +72,7 @@ struct cpu_freq { uint64_t freq; int P; int M; - int S; + int S; }; @@ -895,7 +895,7 @@ exynos5410_usb2phy_enable(bus_space_hand /* host phy reset */ phyhost &= ~(HOST_CTRL0_PHY_SWRST | HOST_CTRL0_PHY_SWRST_ALL | HOST_CTRL0_SIDDQ | HOST_CTRL0_COMMONON_N); - + /* host link reset */ phyhost |= HOST_CTRL0_LINK_SWRST | HOST_CTRL0_UTMI_SWRST;