diff options
Diffstat (limited to 'drivers')
79 files changed, 16 insertions, 221 deletions
diff --git a/drivers/aiodev/core.c b/drivers/aiodev/core.c index b5d06da932..b8428346a3 100644 --- a/drivers/aiodev/core.c +++ b/drivers/aiodev/core.c @@ -6,9 +6,6 @@ * Copyright (c) 2015 Zodiac Inflight Innovation * Author: Andrey Smirnov <andrew.smirnov@gmail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c index 9e50708355..6dd2baa36c 100644 --- a/drivers/aiodev/imx_thermal.c +++ b/drivers/aiodev/imx_thermal.c @@ -9,9 +9,6 @@ * Author: Nitin Garg <nitin.garg@freescale.com> * Ye Li <Ye.Li@freescale.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/aiodev/mc13xxx_adc.c b/drivers/aiodev/mc13xxx_adc.c index d445d1ec6e..c5d1efdf8d 100644 --- a/drivers/aiodev/mc13xxx_adc.c +++ b/drivers/aiodev/mc13xxx_adc.c @@ -7,9 +7,6 @@ * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright (C) 2009 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 7dc09d00c6..049a36bb44 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -3,9 +3,6 @@ * Author: Jason Jin<Jason.jin@freescale.com> * Zhang Wei<wei.zhang@freescale.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 61b314027e..ed318420c3 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -3,9 +3,6 @@ * Author: Jason Jin<Jason.jin@freescale.com> * Zhang Wei<wei.zhang@freescale.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 456750e7d5..412db6c406 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -3,9 +3,6 @@ * * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 1d3fa2eb44..f907463368 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -3,9 +3,6 @@ * * Copyright (c) 2009 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/base/resource.c b/drivers/base/resource.c index cb7105bf8d..3fd3f1779b 100644 --- a/drivers/base/resource.c +++ b/drivers/base/resource.c @@ -2,9 +2,6 @@ * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/clocksource/digic.c b/drivers/clocksource/digic.c index 1ecd839160..23e0d5b76b 100644 --- a/drivers/clocksource/digic.c +++ b/drivers/clocksource/digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 2014 Antony Pavlov <antonynpavlov@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c index 6e86653480..50572ff5f8 100644 --- a/drivers/clocksource/timer-atmel-pit.c +++ b/drivers/clocksource/timer-atmel-pit.c @@ -10,9 +10,6 @@ * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c index 4d6c6c2b0b..881065bf9f 100644 --- a/drivers/clocksource/timer-imx-gpt.c +++ b/drivers/clocksource/timer-imx-gpt.c @@ -10,9 +10,6 @@ * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/clocksource/uemd.c b/drivers/clocksource/uemd.c index b80908f3b0..5eacfdaf1b 100644 --- a/drivers/clocksource/uemd.c +++ b/drivers/clocksource/uemd.c @@ -6,7 +6,6 @@ * (C) 2011 RC Module, Sergey Mironov <ierton@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c index 4957320d60..eb99e0ea21 100644 --- a/drivers/ddr/fsl/ctrl_regs.c +++ b/drivers/ddr/fsl/ctrl_regs.c @@ -1111,7 +1111,7 @@ static void set_ddr_sdram_mode_9(struct fsl_ddr_controller *c, unsigned short esdmode5; /* Extended SDRAM mode 5 */ int rtt_park = 0; bool four_cs = false; - const unsigned int mclk_ps = get_memory_clk_period_ps(0); + const unsigned int mclk_ps = get_memory_clk_period_ps(c); if ((ddr->cs[0].config & SDRAM_CS_CONFIG_EN) && (ddr->cs[1].config & SDRAM_CS_CONFIG_EN) && diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index ac035dcfac..56fec5c153 100644 --- a/drivers/efi/efi-device.c +++ b/drivers/efi/efi-device.c @@ -3,9 +3,6 @@ * * Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/gpio/gpio-digic.c b/drivers/gpio/gpio-digic.c index 714e3b4a1d..f7a68d09fc 100644 --- a/drivers/gpio/gpio-digic.c +++ b/drivers/gpio/gpio-digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 diff --git a/drivers/gpio/gpio-malta-fpga-i2c.c b/drivers/gpio/gpio-malta-fpga-i2c.c index 0188e51af2..9142248571 100644 --- a/drivers/gpio/gpio-malta-fpga-i2c.c +++ b/drivers/gpio/gpio-malta-fpga-i2c.c @@ -2,7 +2,6 @@ * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c index f0a087d1a8..e94f827549 100644 --- a/drivers/hab/habv4.c +++ b/drivers/hab/habv4.c @@ -2,9 +2,6 @@ * Copyright (C) 2014, 2015 Marc Kleine-Budde <mkl@pengutronix.de> * Copyright (C) 2010 Freescale Semiconductor, Inc. * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/led/core.c b/drivers/led/core.c index e727148a24..eeeeaa0ff3 100644 --- a/drivers/led/core.c +++ b/drivers/led/core.c @@ -3,9 +3,6 @@ * * (C) Copyright 2010 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/led/led-gpio.c b/drivers/led/led-gpio.c index 0590e3fa3e..5055b82381 100644 --- a/drivers/led/led-gpio.c +++ b/drivers/led/led-gpio.c @@ -3,9 +3,6 @@ * * (C) Copyright 2010 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/led/led-pwm.c b/drivers/led/led-pwm.c index 19d9d4d48a..d8866bf757 100644 --- a/drivers/led/led-pwm.c +++ b/drivers/led/led-pwm.c @@ -3,9 +3,6 @@ * * (C) Copyright 2010 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/led/led-triggers.c b/drivers/led/led-triggers.c index 216c8639bc..07dc622d0f 100644 --- a/drivers/led/led-triggers.c +++ b/drivers/led/led-triggers.c @@ -3,9 +3,6 @@ * * (C) Copyright 2010 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mci/dove-sdhci.c b/drivers/mci/dove-sdhci.c index bccda53994..cb052e81b1 100644 --- a/drivers/mci/dove-sdhci.c +++ b/drivers/mci/dove-sdhci.c @@ -4,9 +4,6 @@ * Pengutronix, Michael Grzeschik <mgr@pengutronix.de> * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c index dc8fab73d3..bff8dd67ad 100644 --- a/drivers/mci/imx-esdhc.c +++ b/drivers/mci/imx-esdhc.c @@ -6,9 +6,6 @@ * (C) Copyright 2003 * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index f3718327f1..e8844a3c00 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -8,9 +8,6 @@ * * Based vaguely on the Linux code * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index 4e809bae4f..fe0cd47a28 100644 --- a/drivers/mci/omap_hsmmc.c +++ b/drivers/mci/omap_hsmmc.c @@ -3,9 +3,6 @@ * Texas Instruments, <www.ti.com> * Sukumar Ghorai <s-ghorai@ti.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation's version 2 of diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 881b5f4864..1625d938ea 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -3,9 +3,6 @@ * 2N Telekomunikace, a.s. <www.2n.cz> * Ladislav Michl <michl@2n.cz> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. diff --git a/drivers/mtd/mtdraw.c b/drivers/mtd/mtdraw.c index f63da7b3b2..b71619244b 100644 --- a/drivers/mtd/mtdraw.c +++ b/drivers/mtd/mtdraw.c @@ -306,7 +306,7 @@ static int add_mtdraw_device(struct mtd_info *mtd, const char *devname, void **p mtdraw->mtd = mtd; mtdraw->cdev.ops = (struct cdev_operations *)&mtd_raw_fops; - mtdraw->cdev.size = mtd_div_by_wb(mtd->size, mtd) * mtdraw->rps; + mtdraw->cdev.size = (loff_t)mtd_div_by_wb(mtd->size, mtd) * mtdraw->rps; mtdraw->cdev.name = basprintf("%s.raw", mtd->cdev.name); mtdraw->cdev.priv = mtdraw; mtdraw->cdev.dev = &mtd->class_dev; diff --git a/drivers/mtd/nand/nand-bb.c b/drivers/mtd/nand/nand-bb.c index e578d72a49..c0104c5936 100644 --- a/drivers/mtd/nand/nand-bb.c +++ b/drivers/mtd/nand/nand-bb.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/mtd/nor/cfi_flash.c b/drivers/mtd/nor/cfi_flash.c index 01ab1aa274..430f926e8c 100644 --- a/drivers/mtd/nor/cfi_flash.c +++ b/drivers/mtd/nor/cfi_flash.c @@ -11,9 +11,6 @@ * Copyright (C) 2006 * Tolunay Orkun <listmember@orkun.us> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mtd/nor/cfi_flash.h b/drivers/mtd/nor/cfi_flash.h index e82eb28abe..cea6a8712c 100644 --- a/drivers/mtd/nor/cfi_flash.h +++ b/drivers/mtd/nor/cfi_flash.h @@ -5,9 +5,6 @@ * (C) Copyright 2000-2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 604fe87e53..da409010f7 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -508,6 +508,14 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, struct ubi_device *ubi; int i, err, ref = 0; + /* + * Do not try to attach an UBI device if this device has partitions + * as it's not a good idea to attach UBI on a raw device when the + * real UBI only spans the first partition. + */ + if (!list_empty(&mtd->partitions)) + return -EBUSY; + if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) return -EINVAL; diff --git a/drivers/net/designware_eqos.c b/drivers/net/designware_eqos.c index cb52f3942d..d2baaeaf63 100644 --- a/drivers/net/designware_eqos.c +++ b/drivers/net/designware_eqos.c @@ -360,6 +360,11 @@ static int eqos_start(struct eth_device *edev) int ret; int i; + ret = phy_device_connect(edev, &eqos->miibus, eqos->phy_addr, + eqos->ops->adjust_link, 0, eqos->interface); + if (ret) + return ret; + setbits_le32(&eqos->dma_regs->mode, EQOS_DMA_MODE_SWR); ret = readl_poll_timeout(&eqos->dma_regs->mode, mode_set, @@ -379,11 +384,6 @@ static int eqos_start(struct eth_device *edev) val = (rate / USEC_PER_SEC) - 1; /* -1 because the data sheet says so */ writel(val, &eqos->mac_regs->us_tic_counter); - ret = phy_device_connect(edev, &eqos->miibus, eqos->phy_addr, - eqos->ops->adjust_link, 0, eqos->interface); - if (ret) - return ret; - /* Before we reset the mac, we must insure the PHY is not powered down * as the dw controller needs all clock domains to be running, including * the PHY clock, to come out of a mac reset. */ diff --git a/drivers/of/address.c b/drivers/of/address.c index f0a74ec37c..524a0f6a79 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c index 64f483326d..aa0cfb6194 100644 --- a/drivers/of/barebox.c +++ b/drivers/of/barebox.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/base.c b/drivers/of/base.c index 1223e0ab55..4c633bcd49 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index cf3f1ee147..a31e2c348a 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/of_path.c b/drivers/of/of_path.c index 5c3a020345..c237d9c6a8 100644 --- a/drivers/of/of_path.c +++ b/drivers/of/of_path.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/partition.c b/drivers/of/partition.c index 655b67f854..7367073c67 100644 --- a/drivers/of/partition.c +++ b/drivers/of/partition.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/of/platform.c b/drivers/of/platform.c index b1a7eb6730..ca84cede23 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/pinctrl/imx-iomux-v3.c b/drivers/pinctrl/imx-iomux-v3.c index dccf7d10df..a45c242fd1 100644 --- a/drivers/pinctrl/imx-iomux-v3.c +++ b/drivers/pinctrl/imx-iomux-v3.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 0da6332720..13add1ffee 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -3,9 +3,6 @@ * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> * Copyright (C) 2014 Raphaƫl Poggi * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c index b48ed2ace1..96f30bf95b 100644 --- a/drivers/pinctrl/pinctrl-mxs.c +++ b/drivers/pinctrl/pinctrl-mxs.c @@ -3,9 +3,6 @@ * * Copyright (c) 2015 Sascha Hauer <s.hauer@pengutronix.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 2cd58df931..4ce66a84de 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -4,9 +4,6 @@ * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/pinctrl/pinctrl-vf610.c b/drivers/pinctrl/pinctrl-vf610.c index 662fa9b6c9..9a8ce0caa2 100644 --- a/drivers/pinctrl/pinctrl-vf610.c +++ b/drivers/pinctrl/pinctrl-vf610.c @@ -2,9 +2,6 @@ * Copyright (c) 2016 Zodiac Inflight Innovation * Author: Andrey Smirnov <andrew.smirnov@gmail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/pinctrl/pinctrl.c b/drivers/pinctrl/pinctrl.c index 0e42a31474..b36521ef83 100644 --- a/drivers/pinctrl/pinctrl.c +++ b/drivers/pinctrl/pinctrl.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index f459d072a9..74e00d7791 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -3,9 +3,6 @@ * * Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 78b8290ff2..0b1c752493 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -3,9 +3,6 @@ * * Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c index 9b567e3cd2..0751c52513 100644 --- a/drivers/serial/amba-pl011.c +++ b/drivers/serial/amba-pl011.c @@ -6,9 +6,6 @@ * ARM Ltd. * Philippe Robin, <philippe.robin@arm.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/efi-stdio.c b/drivers/serial/efi-stdio.c index 9e825181e6..d269985ce7 100644 --- a/drivers/serial/efi-stdio.c +++ b/drivers/serial/efi-stdio.c @@ -3,9 +3,6 @@ * * Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/serial/linux_console.c b/drivers/serial/linux_console.c index 0d5da9d1b0..056fbc65d9 100644 --- a/drivers/serial/linux_console.c +++ b/drivers/serial/linux_console.c @@ -3,9 +3,6 @@ * * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/serial/serial_altera.c b/drivers/serial/serial_altera.c index 10d1506bca..51dcf8c790 100644 --- a/drivers/serial/serial_altera.c +++ b/drivers/serial/serial_altera.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011, Franck JULLIEN, <elec4fun@gmail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_altera_jtag.c b/drivers/serial/serial_altera_jtag.c index 0164ea5eff..1c485ed316 100644 --- a/drivers/serial/serial_altera_jtag.c +++ b/drivers/serial/serial_altera_jtag.c @@ -4,9 +4,6 @@ * * (C) Copyright 2011 - Franck JULLIEN <elec4fun@gmail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c index dda604652b..2fe1b4f923 100644 --- a/drivers/serial/serial_ar933x.c +++ b/drivers/serial/serial_ar933x.c @@ -1,9 +1,6 @@ /* * based on linux.git/drivers/tty/serial/serial_ar933x.c * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_digic.c b/drivers/serial/serial_digic.c index 06b6e15e0c..d3cfa69e81 100644 --- a/drivers/serial/serial_digic.c +++ b/drivers/serial/serial_digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 2014 Antony Pavlov <antonynpavlov@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index 246fc3d3af..bfc3a13672 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -4,9 +4,6 @@ * * Based on analogous driver from U-Boot * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/serial/serial_mpc5xxx.c b/drivers/serial/serial_mpc5xxx.c index cc63a84c68..742af27650 100644 --- a/drivers/serial/serial_mpc5xxx.c +++ b/drivers/serial/serial_mpc5xxx.c @@ -2,9 +2,6 @@ * (C) Copyright 2000 - 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 3edeb0dcbe..5d6cec82a4 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -17,9 +17,6 @@ * (C) Copyright 2000 * Rob Taylor, Flying Pig Systems. robt@flyingpig.com. * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_pl010.c b/drivers/serial/serial_pl010.c index 06f9d2dcdc..74a0c81d3e 100644 --- a/drivers/serial/serial_pl010.c +++ b/drivers/serial/serial_pl010.c @@ -8,9 +8,6 @@ * ARM Ltd. * Philippe Robin, <philippe.robin@arm.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/serial/serial_pl010.h b/drivers/serial/serial_pl010.h index ff3d2f9974..f442339ea3 100644 --- a/drivers/serial/serial_pl010.h +++ b/drivers/serial/serial_pl010.h @@ -5,9 +5,6 @@ * ARM Ltd. * Philippe Robin, <philippe.robin@arm.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/spi/ath79_spi.c b/drivers/spi/ath79_spi.c index bb63d864ae..e47896be62 100644 --- a/drivers/spi/ath79_spi.c +++ b/drivers/spi/ath79_spi.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 2014 Antony Pavlov <antonynpavlov@gmail.com> * * This file is part of barebox. - * See file CREDITS for list of people who contributed to this project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index beea772aa9..ff9eccc37d 100644 --- a/drivers/spi/omap3_spi.c +++ b/drivers/spi/omap3_spi.c @@ -13,9 +13,6 @@ * * Modified by Ruslan Araslanov <ruslan.araslanov@vitecmm.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/spi/omap3_spi.h b/drivers/spi/omap3_spi.h index 24cdc5301c..8b90920157 100644 --- a/drivers/spi/omap3_spi.h +++ b/drivers/spi/omap3_spi.h @@ -8,9 +8,6 @@ * * Modified by Ruslan Araslanov <ruslan.araslanov@vitecmm.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 2ac4184969..01653d8c20 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -3,9 +3,6 @@ * * Copyright (c) 2011 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/usb/core/of.c b/drivers/usb/core/of.c index 979088ef4e..b534ede18a 100644 --- a/drivers/usb/core/of.c +++ b/drivers/usb/core/of.c @@ -1,9 +1,6 @@ /* * usb devicetree helper functions * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index d0a91b9e9f..30c251f405 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c @@ -15,9 +15,6 @@ * Adapted for barebox: * (C) Copyright 2001 Denis Peter, MPL AG Switzerland * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c index 9117a5b063..7e23fa3157 100644 --- a/drivers/usb/gadget/dfu.c +++ b/drivers/usb/gadget/dfu.c @@ -5,9 +5,6 @@ * based on existing SAM7DFU code from OpenPCD: * (C) Copyright 2006 by Harald Welte <hwelte@hmw-consulting.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 6c88d646c9..192c5ef9d1 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2010 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; version 2 of diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 1013ba39c5..05ed2876c6 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2010 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; version 2 of diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 924dc8e1f6..a28c48b4c8 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -17,9 +17,6 @@ * Modified for the MP2USB by (C) Copyright 2005 Eric Benard * ebenard@eukrea.com - based on s3c24x0's driver * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index aa84334b09..9c20e441fb 100644 --- a/drivers/video/atmel_hlcdfb.c +++ b/drivers/video/atmel_hlcdfb.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 322404f322..6ce47bb68f 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/atmel_lcdfb_core.c b/drivers/video/atmel_lcdfb_core.c index c6ece5b785..d8c35b2755 100644 --- a/drivers/video/atmel_lcdfb_core.c +++ b/drivers/video/atmel_lcdfb_core.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/backlight-pwm.c b/drivers/video/backlight-pwm.c index 9111a42d75..cae016be8f 100644 --- a/drivers/video/backlight-pwm.c +++ b/drivers/video/backlight-pwm.c @@ -3,9 +3,6 @@ * * (C) Copyright 2014 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of @@ -37,7 +34,6 @@ struct pwm_backlight { unsigned int *levels; int enable_gpio; int enable_active_high; - int max_value; int enabled; unsigned int scale; }; @@ -206,6 +202,7 @@ static int backlight_pwm_of_probe(struct device_d *dev) pwm_backlight->backlight.slew_time_ms = 100; pwm_backlight->backlight.brightness_set = backlight_pwm_set; + pwm_backlight->backlight.dev.parent = dev; pwm_backlight->backlight.node = dev->device_node; ret = backlight_register(&pwm_backlight->backlight); diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c index 9cc7a911ea..18171bdd81 100644 --- a/drivers/video/imx-ipu-fb.c +++ b/drivers/video/imx-ipu-fb.c @@ -2,9 +2,6 @@ * Copyright (C) 2009 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/mtl017.c b/drivers/video/mtl017.c index c04875cd07..dbd509e09b 100644 --- a/drivers/video/mtl017.c +++ b/drivers/video/mtl017.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2014 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/omap.c b/drivers/video/omap.c index 884365f609..67b31522ae 100644 --- a/drivers/video/omap.c +++ b/drivers/video/omap.c @@ -4,9 +4,6 @@ * Copyright (C) 2013 Christoph Fritz <chf.fritz@googlemail.com> * Based on work by Enrico Scholz, sponsored by Phytec * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/omap.h b/drivers/video/omap.h index ac9e1cee87..de88c8374b 100644 --- a/drivers/video/omap.h +++ b/drivers/video/omap.h @@ -3,9 +3,6 @@ * * Copyright (C) 2013 Christoph Fritz <chf.fritz@googlemail.com> * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/simple-panel.c b/drivers/video/simple-panel.c index be39ff0e94..1d05153d16 100644 --- a/drivers/video/simple-panel.c +++ b/drivers/video/simple-panel.c @@ -3,9 +3,6 @@ * * (C) Copyright 2014 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/video/vpl.c b/drivers/video/vpl.c index 82ceeebada..68b7d6d8f4 100644 --- a/drivers/video/vpl.c +++ b/drivers/video/vpl.c @@ -3,9 +3,6 @@ * * (C) Copyright 2014 Sascha Hauer, Pengutronix * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of |