1. 29 Jul, 2014 1 commit
  2. 28 Jul, 2014 11 commits
  3. 25 Jul, 2014 14 commits
    • Lee Jones's avatar
      mfd: max77686: Ensure device type IDs are architecture agnostic · ec8bd566
      Lee Jones authored
      Extinguishes:
      
      ../drivers/mfd/max77686.c: In function ‘max77686_i2c_probe’:
      ../drivers/mfd/max77686.c:254:20:
      	warning: cast from pointer to integer of different size
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      ec8bd566
    • Javier Martinez Canillas's avatar
      mfd: max77686: Add Maxim 77802 PMIC support · a259f389
      Javier Martinez Canillas authored
      Maxim MAX77802 is a power management chip that contains 10 high
      efficiency Buck regulators, 32 Low-dropout (LDO) regulators used
      to power up application processors and peripherals, a 2-channel
      32kHz clock outputs, a Real-Time-Clock (RTC) and a I2C interface
      to program the individual regulators, clocks outputs and the RTC.
      
      This patch adds support for MAX77802 to the MAX77686 driver and is
      based on a driver added to the Chrome OS kernel 3.8 by Simon Glass.
      Signed-off-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      a259f389
    • Himangi Saraogi's avatar
      mfd: tps6105x: Use managed resources when allocating memory · ad83533a
      Himangi Saraogi authored
      This patch introduces the use of devm_kzalloc instead of the
      corresponding unmanaged version and does away with the kfrees in the
      probe and remove functions. Also, a label is done away with.
      Signed-off-by: default avatarHimangi Saraogi <himangi774@gmail.com>
      Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      ad83533a
    • Lee Jones's avatar
      mfd: wm8997-tables: Suppress 'line over 80 chars' warnings · 23213218
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: line over 80 characters
      +       { 0x00000068, 0x01FF },    /* R104   - Always On Triggers Sequence Select 3 */
      
      WARNING: line over 80 characters
      +       { 0x00000069, 0x01FF },    /* R105   - Always On Triggers Sequence Select 4 */
      
      WARNING: line over 80 characters
      +       { 0x0000006A, 0x01FF },    /* R106   - Always On Triggers Sequence Select 5 */
      
      WARNING: line over 80 characters
      +       { 0x0000006B, 0x01FF },    /* R107   - Always On Triggers Sequence Select 6 */
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      23213218
    • Lee Jones's avatar
      mfd: kempld-core: Correct a variety of checkpatch warnings · 9ef4e935
      Lee Jones authored
      WARNING: line over 80 characters
      +module_param_string(force_device_id, force_device_id, sizeof(force_device_id), 0);
      
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +               msleep(1);
      
      WARNING: __initdata should be placed after kempld_dmi_table[]
      +static struct dmi_system_id __initdata kempld_dmi_table[] = {
      
      WARNING: line over 80 characters
      +               for (id = kempld_dmi_table; id->matches[0].slot != DMI_NONE; id++)
      
      total: 0 errors, 4 warnings, 771 lines checked
      
      This is part of an effort to clean-up the MFD subsystem.
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      9ef4e935
    • Lee Jones's avatar
      mfd: ipaq-micro: Fix coding style errors/warnings reported by checkpatch · 9336fe91
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      ERROR: space required before the open parenthesis '('
      +                       if(!micro->msg)
      
      WARNING: unnecessary whitespace before a quoted newline
      +                       dev_dbg(micro->dev, "key message ignored, no handle \n");
      
      WARNING: unnecessary whitespace before a quoted newline
      +                       dev_dbg(micro->dev, "touchscreen message ignored, no handle \n");
      
      WARNING: space prohibited before semicolon
      +               rx->id = (ch & 0xf0) >> 4 ;
      
      total: 1 errors, 3 warnings, 482 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      9336fe91
    • Lee Jones's avatar
      mfd: si476x-cmd: Remedy checkpatch style complains · d69d4212
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: line over 80 characters
      +                        struct si476x_rsq_status_args *rsqargs,
      
      WARNING: line over 80 characters
      +                        struct si476x_rsq_status_report *report)
      
      WARNING: Unnecessary space before function pointer arguments
      +       int (*power_up) (struct si476x_core *,
      
      WARNING: Unnecessary space before function pointer arguments
      +       int (*power_down) (struct si476x_core *,
      
      total: 0 errors, 4 warnings, 1555 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      d69d4212
    • Lee Jones's avatar
      mfd: tc6387xb: Remove unnecessary braces and correct style warnings · d5ce79ff
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: braces {} are not necessary for single statement blocks
      +       if (!iomem) {
      +               return -EINVAL;
      +       }
      
      WARNING: sizeof *tc6387xb should be sizeof(*tc6387xb)
      +       tc6387xb = kzalloc(sizeof *tc6387xb, GFP_KERNEL);
      
      WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...
      +       printk(KERN_INFO "Toshiba tc6387xb initialised\n");
      
      total: 0 errors, 3 warnings, 242 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      d5ce79ff
    • Lee Jones's avatar
      mfd: twl6030-irq: Extinguish coding style warnings · 3103de8c
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: please, no space before tabs
      +^IRSV_INTR_OFFSET,  ^I/* Bit 12^IReserved^I^I*/$
      
      WARNING: Missing a blank line after declarations
      +       u8 unmask_value;
      +       ret = twl_i2c_read_u8(TWL_MODULE_PIH, &unmask_value,
      
      WARNING: Missing a blank line after declarations
      +       u8 mask_value;
      +       ret = twl_i2c_read_u8(TWL_MODULE_PIH, &mask_value,
      
      total: 0 errors, 3 warnings, 484 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      3103de8c
    • Lee Jones's avatar
      mfd: wm8350-i2c: Replace spaces with tabs · 6db1c9ba
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: please, no spaces at the start of a line
      +       { "wm8350", 0 },$
      
      WARNING: please, no spaces at the start of a line
      +       { "wm8351", 0 },$
      
      WARNING: please, no spaces at the start of a line
      +       { "wm8352", 0 },$
      
      WARNING: please, no spaces at the start of a line
      +       { }$
      
      total: 0 errors, 4 warnings, 93 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      6db1c9ba
    • Lee Jones's avatar
      mfd: max8925-core: Fix 'missing blank line after declarations' warning · a5c5accf
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: Missing a blank line after declarations
      +       struct max8925_chip *chip = irq_data_get_irq_chip_data(data);
      +       max8925_irqs[data->irq - chip->irq_base].enable
      
      WARNING: Missing a blank line after declarations
      +       struct max8925_chip *chip = irq_data_get_irq_chip_data(data);
      +       max8925_irqs[data->irq - chip->irq_base].enable = 0;
      
      total: 0 errors, 2 warnings, 927 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      a5c5accf
    • Lee Jones's avatar
      mfd: twl4030-irq: Fix style warnings relating to pr_warn() and sizeof() · 04aa4438
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: Prefer pr_warn(... to pr_warning(...
      +               pr_warning("twl4030: I2C error %d reading PIH ISR\n", ret);
      
      WARNING: sizeof buf should be sizeof(buf)
      +       memset(buf, 0xff, sizeof buf);
      
      WARNING: sizeof *agent should be sizeof(*agent)
      +       agent = kzalloc(sizeof *agent, GFP_KERNEL);
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      04aa4438
    • Lee Jones's avatar
      mfd: lp8788-irq: Fix 'missing blank line after declarations' warning · 52149ad2
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: Missing a blank line after declarations
      +       struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
      +       irqd->enabled[data->hwirq] = 1;
      
      WARNING: Missing a blank line after declarations
      +       struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
      +       irqd->enabled[data->hwirq] = 0;
      
      total: 0 errors, 2 warnings, 198 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      52149ad2
    • Lee Jones's avatar
      mfd: ezx-pcap: Repair coding style errors picked up with checkpatch · 0309528a
      Lee Jones authored
      This is part of an effort to clean-up the MFD subsystem.
      
      WARNING: sizeof t should be sizeof(t)
      +       memset(&t, 0, sizeof t);
      
      WARNING: void function return statements are not generally useful
      +       return;
      +}
      
      total: 0 errors, 2 warnings, 542 lines checked
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      0309528a
  4. 22 Jul, 2014 5 commits
  5. 21 Jul, 2014 9 commits