09 Apr, 2013

5 commits

  • …nwoo/extcon into char-misc-next

    Chanwoo writes:

    This is small fixes for extcon driver.

    MAX77693 extcon driver
    - Add 'static' keryword to internal data structure
    - Fix return value using 'ret' instead of hardcoding

    MAX8997 extcon driver
    - Use dev_err() instead of pr_err()
    - Fix return value using 'ret' instead of hardcoding

    Greg Kroah-Hartman
     
  • Return the value obtained from the function instead of hardcoding.
    Fixes the following warnings:
    drivers/extcon/extcon-max8997.c:235 max8997_muic_set_path() info:
    why not propagate 'ret' from max8997_update_reg() instead of (-11)?
    drivers/extcon/extcon-max8997.c:248 max8997_muic_set_path() info:
    why not propagate 'ret' from max8997_update_reg() instead of (-11)?

    Signed-off-by: Sachin Kamat
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Sachin Kamat
     
  • Return the value obtained from the function instead of hardcoding.
    Silences the following warnings:
    drivers/extcon/extcon-max77693.c:297 max77693_muic_set_path()
    info: why not propagate 'ret' from max77693_update_reg() instead of (-11)?
    drivers/extcon/extcon-max77693.c:310 max77693_muic_set_path()
    info: why not propagate 'ret' from max77693_update_reg() instead of (-11)?

    Signed-off-by: Sachin Kamat
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Sachin Kamat
     
  • dev_err() is more preferred than pr_err().

    Signed-off-by: Jingoo Han
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Jingoo Han
     
  • Commit 0ec83bd246 ("extcon: max77693: Initialize register of MUIC
    device to bring up it without platform data") added this structure
    but forgot to make it static. Without this patch we get the following
    warning:
    drivers/extcon/extcon-max77693.c:41:26: warning:
    symbol 'default_init_data' was not declared. Should it be static?

    Signed-off-by: Sachin Kamat
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Sachin Kamat
     

04 Apr, 2013

1 commit


02 Apr, 2013

15 commits


27 Mar, 2013

1 commit


26 Mar, 2013

2 commits


13 Mar, 2013

3 commits


22 Feb, 2013

1 commit

  • Pull char/misc driver patches from Greg Kroah-Hartman:
    "Here's the big char/misc driver patches for 3.9-rc1.

    Nothing major here, just lots of different driver updates (mei,
    hyperv, ipack, extcon, vmci, etc.).

    All of these have been in the linux-next tree for a while."

    * tag 'char-misc-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (209 commits)
    w1: w1_therm: Add force-pullup option for "broken" sensors
    w1: ds2482: Added 1-Wire pull-up support to the driver
    vme: add missing put_device() after device_register() fails
    extcon: max8997: Use workqueue to check cable state after completing boot of platform
    extcon: max8997: Set default UART/USB path on probe
    extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type
    extcon: max8997: Set default of ADC debounce time during initialization
    extcon: max8997: Remove duplicate code related to set H/W line path
    extcon: max8997: Move defined constant to header file
    extcon: max77693: Make max77693_extcon_cable static
    extcon: max8997: Remove unreachable code
    extcon: max8997: Make max8997_extcon_cable static
    extcon: max77693: Remove unnecessary goto statement to improve readability
    extcon: max77693: Convert to devm_input_allocate_device()
    extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style
    CREDITS: update email and address of Harald Hoyer
    extcon: arizona: Use MICDET for final microphone identification
    extcon: arizona: Always take the first HPDET reading as the final one
    extcon: arizona: Clear _trig_sts bits after jack detection
    extcon: arizona: Don't HPDET magic when headphones are enabled
    ...

    Linus Torvalds
     

14 Feb, 2013

12 commits