[COMMON] pinctrl: samsung: change return code
authorHyunki Koo <hyunki00.koo@samsung.com>
Thu, 24 May 2018 11:45:50 +0000 (20:45 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Wed, 30 May 2018 04:11:44 +0000 (13:11 +0900)
commite457cbbd16f0e68a14038fc25a356db6d22c3aa4
tree455857cda2cc7c89211e5fcf96e8be71d17031ee
parente72811145b3b24d9c54b0445d025ffe79139b497
[COMMON] pinctrl: samsung: change return code

This patch change return code to remove kmemleak

unreferenced object 0xffffffc8f0f0c300 (size 128):
  comm "swapper/0", pid 1, jiffies 4294892530 (age 1408.240s)
  hex dump (first 32 bytes):
    44 7c 41 08 80 ff ff ff 98 95 d1 f0 c8 ff ff ff  D|A.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffff8008ad4b9c>] kmemleak_alloc+0x3c/0x68
    [<ffffff8008223190>] __kmalloc+0x20c/0x41c
    [<ffffff8008125500>] request_threaded_irq+0xc4/0x154
    [<ffffff8008128800>] devm_request_threaded_irq+0x84/0xd0
    [<ffffff8008417ac0>] exynos_eint_gpio_init+0x50/0x1d4
    [<ffffff80084168c8>] samsung_pinctrl_probe+0x8cc/0x970
    [<ffffff800853a93c>] platform_drv_probe+0x58/0xac
    [<ffffff800853830c>] driver_probe_device+0x274/0x2b4
    [<ffffff8008538ac4>] __device_attach_driver+0x98/0xb0
    [<ffffff8008536a38>] bus_for_each_drv+0x74/0xbc
    [<ffffff800853843c>] __device_attach+0xa4/0x128
    [<ffffff80085384d0>] device_initial_probe+0x10/0x18
    [<ffffff8008536b9c>] bus_probe_device+0x30/0x8c
    [<ffffff80085342c8>] device_add+0x4b4/0x544
    [<ffffff8008821268>] of_device_add+0x34/0x44
    [<ffffff8008821c4c>] of_platform_device_create_pdata+0x7c/0xb0

Change-Id: Ib4544b7f998812fd4a17e17796d65178e783d2e6
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
drivers/pinctrl/samsung/pinctrl-exynos.c