pull-request: can-next 2020-12-14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jakub, hello David,

this is a series of 7 patches for net-next/master.

All 7 patches are by me and target the m_can driver. First there are 4 cleanup
patches (fix link to doc, fix coding style, uniform variable name usage, mark
function as static). Then the driver is converted to
pm_runtime_resume_and_get(). The next patch lets the m_can class driver
allocate the driver's private data, to get rid of one level of indirection. And
the last patch consistently uses struct m_can_classdev as drvdata over all
binding drivers.

regards,
Marc

---

The following changes since commit 13458ffe0a953e17587f172a8e5059c243e6850a:

  net: x25: Remove unimplemented X.25-over-LLC code stubs (2020-12-12 17:15:33 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-5.11-20201214

for you to fetch changes up to c6b734892420f00fdc3c49b8c1029aa5bf0790b9:

  can: m_can: use struct m_can_classdev as drvdata (2020-12-14 14:24:17 +0100)

----------------------------------------------------------------
linux-can-next-for-5.11-20201214

----------------------------------------------------------------
Marc Kleine-Budde (7):
      can: m_can: update link to M_CAN user manual
      can: m_can: convert indention to kernel coding style
      can: m_can: use cdev as name for struct m_can_classdev uniformly
      can: m_can: m_can_config_endisable(): mark as static
      can: m_can: m_can_clk_start(): make use of pm_runtime_resume_and_get()
      can: m_can: let m_can_class_allocate_dev() allocate driver specific private data
      can: m_can: use struct m_can_classdev as drvdata

 drivers/net/can/m_can/m_can.c          | 206 ++++++++++++++++-----------------
 drivers/net/can/m_can/m_can.h          |   5 +-
 drivers/net/can/m_can/m_can_pci.c      |  32 ++---
 drivers/net/can/m_can/m_can_platform.c |  40 ++++---
 drivers/net/can/m_can/tcan4x5x.c       |  44 +++----
 5 files changed, 160 insertions(+), 167 deletions(-)





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux