mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Some minor cleanups to the Ux500 core. DT-only probe path and
some constification from static code analysis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJTvm0dAAoJEEEQszewGV1z0+QQALK+SJvPRMum4lBaorNmmdQs 2rz760astlUwGqojk4Fd3YilkQobXTe9Tv4tQiMb7p6XSbuktSYPZzGzG4EHarwn nyWxJSTdXNwljEg1LykwddTin1MBLxWpUyPb8IKoebcO1Bsxz93pdVqkViiiUfgi 8auTQRCzt2bSRtYq2wLq7tot6vMW2thI7f8TtayXJEA+MkuDEx+F280dnpyJrXVM +dxzYwJVfe3wjPuJ2cL8tkib4FbPftlv/jgj4RpegFqzmxQkzcPxEm53IW8rhuZH R6LxRiqPvHvCtaXYQYbqhSa2DODIH2hNIUo2VgX8dOEFHbz5Ti72V4dVV3rdhRUJ EM5EnI30kStB/qA9pY1nmGYybnmZlUzeouzy/DbwPAl5kW1+EieXPQXtsLYDBMFm Tz09Hw+xLq+iqBOOreu2ohpcrUEsbSPiV5fx5K93G2/wcxOTBoO5UAlWpYhDaYTD aP5u7YQEubgwk2Pqggs3NJxfwISUflw7m+V628Zqr2g3+g3UvBHDTxN7/6qDraVa IgpnYLDUEnDmgPFjdTT5Ybcgs2D4uSo6xTN+O4F1AcKbE2G56x9Qt6YUvyPZalyH elQc9egDvZkVt1eO/HWW1qfmEU2LYaXsJYxhIjkxKQ0GdFq4E2IKq+0Ydz5p0omG 2NGSFWxlTgqN/I0zWPbD =OmbF -----END PGP SIGNATURE----- Merge tag 'ux500-core-for-v3.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/cleanup Merge "Ux500 core changes for v3.17 take 1" from Linus Walleij: Some minor cleanups to the Ux500 core. DT-only probe path and some constification from static code analysis. * tag 'ux500-core-for-v3.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: ux500: remove pointless cache setup complexity ARM: ux500: storage class should be before const qualifier ARM: ux500: Staticize ab8505_regulators ARM: ux500: Staticize local symbols in cpu-db8500.c ARM: ux500: Staticise ux500_soc_attr + Linux 3.16-rc4 Signed-off-by: Olof Johansson <[email protected]>
This commit is contained in:
commit
e1adcba9c8
166 changed files with 1267 additions and 531 deletions
|
|
@ -1057,6 +1057,7 @@ static int atmel_lcdfb_of_init(struct atmel_lcdfb_info *sinfo)
|
|||
goto put_display_node;
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&pdata->pwr_gpios);
|
||||
ret = -ENOMEM;
|
||||
for (i = 0; i < of_gpio_named_count(display_np, "atmel,power-control-gpio"); i++) {
|
||||
gpio = of_get_named_gpio_flags(display_np, "atmel,power-control-gpio",
|
||||
|
|
@ -1082,6 +1083,7 @@ static int atmel_lcdfb_of_init(struct atmel_lcdfb_info *sinfo)
|
|||
dev_err(dev, "set direction output gpio %d failed\n", gpio);
|
||||
goto put_display_node;
|
||||
}
|
||||
list_add(&og->list, &pdata->pwr_gpios);
|
||||
}
|
||||
|
||||
if (is_gpio_power)
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ static int bfin_adv7393_fb_probe(struct i2c_client *client,
|
|||
/* Workaround "PPI Does Not Start Properly In Specific Mode" */
|
||||
if (ANOMALY_05000400) {
|
||||
ret = gpio_request_one(P_IDENT(P_PPI0_FS3), GPIOF_OUT_INIT_LOW,
|
||||
"PPI0_FS3")
|
||||
"PPI0_FS3");
|
||||
if (ret) {
|
||||
dev_err(&client->dev, "PPI0_FS3 GPIO request failed\n");
|
||||
ret = -EBUSY;
|
||||
|
|
|
|||
|
|
@ -121,9 +121,11 @@ static void __init omapdss_add_to_list(struct device_node *node, bool root)
|
|||
{
|
||||
struct dss_conv_node *n = kmalloc(sizeof(struct dss_conv_node),
|
||||
GFP_KERNEL);
|
||||
n->node = node;
|
||||
n->root = root;
|
||||
list_add(&n->list, &dss_conv_list);
|
||||
if (n) {
|
||||
n->node = node;
|
||||
n->root = root;
|
||||
list_add(&n->list, &dss_conv_list);
|
||||
}
|
||||
}
|
||||
|
||||
static bool __init omapdss_list_contains(const struct device_node *node)
|
||||
|
|
|
|||
|
|
@ -474,8 +474,6 @@ static int vt8500lcd_remove(struct platform_device *pdev)
|
|||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
release_mem_region(res->start, resource_size(res));
|
||||
|
||||
kfree(fbi);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue