| .. | .. |
|---|
| 3418 | 3418 | |
|---|
| 3419 | 3419 | static int spear320_pinctrl_probe(struct platform_device *pdev) |
|---|
| 3420 | 3420 | { |
|---|
| 3421 | | - int ret; |
|---|
| 3422 | | - |
|---|
| 3423 | 3421 | spear3xx_machdata.groups = spear320_pingroups; |
|---|
| 3424 | 3422 | spear3xx_machdata.ngroups = ARRAY_SIZE(spear320_pingroups); |
|---|
| 3425 | 3423 | spear3xx_machdata.functions = spear320_functions; |
|---|
| .. | .. |
|---|
| 3433 | 3431 | pmx_init_gpio_pingroup_addr(spear3xx_machdata.gpio_pingroups, |
|---|
| 3434 | 3432 | spear3xx_machdata.ngpio_pingroups, PMX_CONFIG_REG); |
|---|
| 3435 | 3433 | |
|---|
| 3436 | | - ret = spear_pinctrl_probe(pdev, &spear3xx_machdata); |
|---|
| 3437 | | - if (ret) |
|---|
| 3438 | | - return ret; |
|---|
| 3439 | | - |
|---|
| 3440 | | - return 0; |
|---|
| 3434 | + return spear_pinctrl_probe(pdev, &spear3xx_machdata); |
|---|
| 3441 | 3435 | } |
|---|
| 3442 | 3436 | |
|---|
| 3443 | 3437 | static struct platform_driver spear320_pinctrl_driver = { |
|---|