public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* exporting a device type
@ 2025-04-11 19:39 Andy Shevchenko
  2025-04-11 21:25 ` Danilo Krummrich
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2025-04-11 19:39 UTC (permalink / raw)
  To: Danilo Krummrich; +Cc: Linux Kernel Mailing List

I have an issue with this change

https://web.git.kernel.org/pub/scm/linux/kernel/git/dakr/linux.git/commit/?h=for-driver-core&id=e86cc69186051d7312711565803de586efd9b2cf

(I think you haven't yet sent it for review, so this is just
preliminary look at)

The idea of exporting bus type will open a non-reversible box of
changes when people will start abusing it. Instead just provide an API
dev_is_auxiliary() as it's done in other subsystems (yes, I know that
some of them are still exporting the type, but it's most likely due to
historical reasons of not thinking through it at that time).

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-12 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 19:39 exporting a device type Andy Shevchenko
2025-04-11 21:25 ` Danilo Krummrich
2025-04-12 17:56   ` Andy Shevchenko
2025-04-12 18:44     ` Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox