board-n1-gpio2c: Clear unused functions

Fixes following warnings:

arch/arm/mach-tegra/board-n1-gpioi2c.c:394: warning: 'charger_online' defined but not used
arch/arm/mach-tegra/board-n1-gpioi2c.c:409: warning: 'charger_enable' defined but not used
arch/arm/mach-tegra/board-n1-gpioi2c.c:840: warning: 'sec_gpio_i2c13_info' defined but not used
arch/arm/mach-tegra/board-n1-gpioi2c.c:843: warning: 'sec_gpio_i2c14_info' defined but not used

Signed-off-by: Aditya Patange adithemagnificent@gmail.com
tegra-usb_phy: Fix redefined macro and clear unused variables

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
tegra-2_mc: Fix declared with attribute warn unused result

Following warnings caused too much noise-

arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
arch/arm/mach-tegra/tegra2_mc.c:943: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
tegra-video: Fix nested comment

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
video-tegra-cmc623: Loads of code cleanup!

Fix all the following warnings:

drivers/video/tegra/cmc623.c:89: warning: 'struct cmc623_data' declared inside parameter list
drivers/video/tegra/cmc623.c:89: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/video/tegra/cmc623.c: In function 'cmc623_I2cWrite16':
drivers/video/tegra/cmc623.c:251: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
drivers/video/tegra/cmc623.c:270: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
drivers/video/tegra/cmc623.c: In function 'cmc623_cabc_pwm_brightness':
drivers/video/tegra/cmc623.c:550: warning: unused variable 'reg'
drivers/video/tegra/cmc623.c: In function 'cmc623_pwm_apply':
drivers/video/tegra/cmc623.c:670: warning: unused variable 'i'
drivers/video/tegra/cmc623.c: At top level:
drivers/video/tegra/cmc623.c:690: warning: function declaration isn't a prototype
drivers/video/tegra/cmc623.c:696: warning: function declaration isn't a prototype
drivers/video/tegra/cmc623.c:728: warning: function declaration isn't a prototype
drivers/video/tegra/cmc623.c:857: warning: function declaration isn't a prototype
drivers/video/tegra/cmc623.c:1094: warning: function declaration isn't a prototype
drivers/video/tegra/cmc623.c: In function 'cmc623_reinit':
drivers/video/tegra/cmc623.c:1126: warning: 'return' with a value, in function returning void
drivers/video/tegra/cmc623.c: In function 'cmc623_i2c_probe':
drivers/video/tegra/cmc623.c:1218: warning: unused variable 'ret'
drivers/video/tegra/cmc623.c: At top level:
drivers/video/tegra/cmc623.c:1337: warning: initialization from incompatible pointer type
drivers/video/tegra/cmc623.c: In function 'cmc623_probe':
drivers/video/tegra/cmc623.c:1398: warning: passing argument 1 of 'init_cmc623_service' from incompatible pointer type
drivers/video/tegra/cmc623.c:89: note: expected 'struct cmc623_data *' but argument is of type 'struct cmc623_data *'
drivers/video/tegra/cmc623.c: In function 'panel_gpio_init':
drivers/video/tegra/cmc623.c:725: warning: control reaches end of non-void function
drivers/video/tegra/cmc623.c: At top level:
drivers/video/tegra/cmc623.c:44: warning: 'cmc623_regulator_csi' defined but not used
drivers/video/tegra/cmc623.c:181: warning: 'current_cmc623_UI' defined but not used
drivers/video/tegra/cmc623.c:182: warning: 'current_cmc623_OutDoor_OnOff' defined but not used
drivers/video/tegra/cmc623.c:183: warning: 'current_cmc623_CABC_OnOff' defined but not used
drivers/video/tegra/cmc623.c:185: warning: 'setting_first' defined but not used
drivers/video/tegra/cmc623.c:186: warning: 'cmc623_bypass_mode' defined but not used
drivers/video/tegra/cmc623.c:187: warning: 'current_autobrightness_enable' defined but not used
drivers/video/tegra/cmc623.c:188: warning: 'cmc623_current_region_enable' defined but not used
drivers/video/tegra/cmc623.c:211: warning: 'cmc623_manual_pwm_brightness_reg' declared 'static' but never defined
drivers/video/tegra/cmc623.c:212: warning: 'cmc623_manual_pwm_brightness_reg_nosync' declared 'static' but never defined
drivers/video/tegra/cmc623.c:221: warning: 'cmc623_I2cWrite' defined but not used
drivers/video/tegra/cmc623.c:486: warning: 'CMC623_Set_Mode' defined but not used
drivers/video/tegra/cmc623.c:548: warning: 'cmc623_cabc_pwm_brightness' defined but not used
drivers/video/tegra/cmc623.c:689: warning: 'cmc623_hw_rst' defined but not used
drivers/video/tegra/cmc623.c:1093: warning: 'cmc623_reinit' defined but not used

Signed-off-by: AdiPat <adithemagnificent@gmail.com>