Do not use platform data outside probe function

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Use dev instead of &pdev->dev in the probe function

We have dev = &pdev->dev already assigned. Use it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>