| .. | .. |
|---|
| 379 | 379 | |
|---|
| 380 | 380 | static int spear310_pinctrl_probe(struct platform_device *pdev) |
|---|
| 381 | 381 | { |
|---|
| 382 | | - int ret; |
|---|
| 383 | | - |
|---|
| 384 | 382 | spear3xx_machdata.groups = spear310_pingroups; |
|---|
| 385 | 383 | spear3xx_machdata.ngroups = ARRAY_SIZE(spear310_pingroups); |
|---|
| 386 | 384 | spear3xx_machdata.functions = spear310_functions; |
|---|
| .. | .. |
|---|
| 392 | 390 | |
|---|
| 393 | 391 | spear3xx_machdata.modes_supported = false; |
|---|
| 394 | 392 | |
|---|
| 395 | | - ret = spear_pinctrl_probe(pdev, &spear3xx_machdata); |
|---|
| 396 | | - if (ret) |
|---|
| 397 | | - return ret; |
|---|
| 398 | | - |
|---|
| 399 | | - return 0; |
|---|
| 393 | + return spear_pinctrl_probe(pdev, &spear3xx_machdata); |
|---|
| 400 | 394 | } |
|---|
| 401 | 395 | |
|---|
| 402 | 396 | static struct platform_driver spear310_pinctrl_driver = { |
|---|