X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fhwmon%2Ff71805f.c;h=15b7f5281def34947ee72afb7c3e170573d5693e;hb=22e04f6b4b04a8afe9af9239224591d06ba3b24d;hp=0c9f3da242bf91be9a6688f71de6d96385ce8453;hpb=19d2f8e0fb7bba99cc585d2467e9fa54a84c8557;p=~andy%2Flinux diff --git a/drivers/hwmon/f71805f.c b/drivers/hwmon/f71805f.c index 0c9f3da242b..15b7f5281de 100644 --- a/drivers/hwmon/f71805f.c +++ b/drivers/hwmon/f71805f.c @@ -1375,7 +1375,7 @@ static void f71805f_init_device(struct f71805f_data *data) static int f71805f_probe(struct platform_device *pdev) { - struct f71805f_sio_data *sio_data = pdev->dev.platform_data; + struct f71805f_sio_data *sio_data = dev_get_platdata(&pdev->dev); struct f71805f_data *data; struct resource *res; int i, err;