mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
uio: msm_shared: Add support for platform data
Update the driver to support backward compatibility for devices relying on board files for platform data. CRs-Fixed: 592586 Bug: 12784954 Change-Id: I04d4195a7fd4b926e52b0cbb2bb33cfcc054689f Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org> Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
This commit is contained in:
parent
3c758839f2
commit
2f289a8cf3
1 changed files with 0 additions and 5 deletions
|
@ -26,11 +26,6 @@ static int msm_sharedmem_probe(struct platform_device *pdev)
|
|||
struct resource *clnt_res = NULL;
|
||||
|
||||
/* Get the addresses from platform-data */
|
||||
if (!pdev->dev.of_node) {
|
||||
pr_err("Node not found\n");
|
||||
ret = -ENODEV;
|
||||
goto out;
|
||||
}
|
||||
clnt_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
if (!clnt_res) {
|
||||
pr_err("resource not found\n");
|
||||
|
|
Loading…
Reference in a new issue