Thread (50 messages) flat view 50 messages, 5 authors, 2021-11-21

Re: [net-next PATCH 18/19] net: dsa: qca8k: use device_get_match_data instead of the OF variant

From: Ansuel Smith <ansuelsmth@gmail.com>
Date: 2021-11-19 02:32:16
Also in: lkml

On Fri, Nov 19, 2021 at 04:21:36AM +0200, Vladimir Oltean wrote:
On Wed, Nov 17, 2021 at 10:04:50PM +0100, Ansuel Smith wrote:
quoted
Drop of_platform include and device_get_match_data instead of the OF
variant.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
---
Why? Any ACPI device coming?
No ACPI device coming. Notice we could drop an extra include.
Is using device API wrong for OF only drivers?
Just asking will drop if it can cause any problem or confusion.

-- 
	Ansuel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help