diff options
| author | Mark Brown <broonie@kernel.org> | 2020-05-20 16:09:02 +0100 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-05-20 16:09:02 +0100 | 
| commit | a24490e0170e4cc6d4fd1f37691f19a106b694ae (patch) | |
| tree | 20964ef269612a2ea33240274bc3422c74a02b15 /net/dsa/master.c | |
| parent | 9bcbabafa19b9f27a283777eff32e7d66fcef09c (diff) | |
| parent | 7e73861eb40d591a98628592c6f0182fbf2f6c4d (diff) | |
Merge series "MAINTAINER entries for few ROHM power devices" from Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>:
Add maintainer entries to a few ROHM devices and Linear Ranges
Linear Ranges helpers were refactored out of regulator core to lib so
that other drivers could utilize them too. (I guess power/supply drivers
and possibly clk drivers can benefit from them). As regulators is
currently the main user it makes sense the changes to linear_ranges go
through Mark's tree.
During past two years few ROHM PMIC drivers have been added to
mainstream. They deserve a supporter from ROHM side too :)
Patch 1:
	Maintainer entries for few ROHM IC drivers
Patch 2:
	Maintainer entry for linear ranges helpers
---
Matti Vaittinen (2):
  MAINTAINERS: Add entry for ROHM power management ICs
  MAINTAINERS: Add maintainer entry for linear ranges helper
 MAINTAINERS | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
base-commit: b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce
--
2.21.0
--
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND
~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]
Diffstat (limited to 'net/dsa/master.c')
| -rw-r--r-- | net/dsa/master.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dsa/master.c b/net/dsa/master.c index b5c535af63a3..a621367c6e8c 100644 --- a/net/dsa/master.c +++ b/net/dsa/master.c @@ -289,7 +289,8 @@ static void dsa_master_ndo_teardown(struct net_device *dev)  {  	struct dsa_port *cpu_dp = dev->dsa_ptr; -	dev->netdev_ops = cpu_dp->orig_ndo_ops; +	if (cpu_dp->orig_ndo_ops) +		dev->netdev_ops = cpu_dp->orig_ndo_ops;  	cpu_dp->orig_ndo_ops = NULL;  }  | 
