diff options
| author | Colin Foster <colin.foster@in-advantage.com> | 2022-04-07 16:44:45 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-08 20:31:51 -0700 |
| commit | 626a5aaa50673a1340ef46e049929709c83d184a (patch) | |
| tree | 5d6d9a5be7800661abf4f3816adeab2b395b9efb /samples/kobject | |
| parent | 34ba23b44c664792a4308ec37b5788a3162944ec (diff) | |
net: mdio: mscc-miim: add local dev variable to cleanup probe function
Create a local device *dev in order to not dereference the platform_device
several times throughout the probe function.
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions
