Skip to content

Commit

Permalink
Merge tag 'linux-can-fixes-for-5.4-20191122' of git://git.kernel.org/…
Browse files Browse the repository at this point in the history
…pub/scm/linux/kernel/git/mkl/linux-can

Marc Kleine-Budde says:

====================
pull-request: can 2019-11-22

this is a pull request of 2 patches for net/master, if possible for the
current release cycle. Otherwise these patches should hit v5.4 via the
stable tree.

Both patches of this pull request target the m_can driver. Pankaj Sharma
fixes the fallout in the m_can_platform part, which appeared with the
introduction of the m_can platform framework.
====================

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Nov 22, 2019
2 parents efabb6c + 0704c57 commit 0682993
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/can/m_can/m_can_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static int m_can_plat_probe(struct platform_device *pdev)

mcan_class->is_peripheral = false;

platform_set_drvdata(pdev, mcan_class->dev);
platform_set_drvdata(pdev, mcan_class->net);

m_can_init_ram(mcan_class);

Expand Down Expand Up @@ -166,8 +166,6 @@ static int __maybe_unused m_can_runtime_resume(struct device *dev)
if (err)
clk_disable_unprepare(mcan_class->hclk);

m_can_class_resume(dev);

return err;
}

Expand Down

0 comments on commit 0682993

Please sign in to comment.