Skip to content

Commit b28b738

Browse files
ndreysgregkh
authored andcommitted
nvmem: imx-iim: Do not use "&pdev->dev" explicitly
There's already "dev" variable for that. Use it. Cc: Srinivas Kandagatla <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Carlo Caione <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Matthias Brugger <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e84d1f9 commit b28b738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvmem/imx-iim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static int imx_iim_probe(struct platform_device *pdev)
125125

126126
drvdata = of_id->data;
127127

128-
iim->clk = devm_clk_get(&pdev->dev, NULL);
128+
iim->clk = devm_clk_get(dev, NULL);
129129
if (IS_ERR(iim->clk))
130130
return PTR_ERR(iim->clk);
131131

0 commit comments

Comments
 (0)