diff options
author | Thierry Reding <treding@nvidia.com> | 2015-02-25 16:16:29 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-13 17:13:52 +0530 |
commit | 2f1bce487cd0a02623cff3d877940f9a2026341c (patch) | |
tree | a3445981f7d85e35042ddceb80df44dd5f1b0e19 /drivers/clk/Makefile | |
parent | 6b08e36ba32b3cb4d44af617c8984f9c2bfdf964 (diff) | |
download | blackbird-obmc-linux-2f1bce487cd0a02623cff3d877940f9a2026341c.tar.gz blackbird-obmc-linux-2f1bce487cd0a02623cff3d877940f9a2026341c.zip |
phy: Find the right match in devm_phy_destroy()
devm_phy_create() stores the pointer to the new PHY at the address
returned by devres_alloc(). The res parameter passed to devm_phy_match()
is therefore the location where the pointer to the PHY is stored, hence
it needs to be dereferenced before comparing to the match data in order
to find the correct match.
Cc: <stable@vger.kernel.org> # v3.13+
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/clk/Makefile')
0 files changed, 0 insertions, 0 deletions