Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277555

Releasing bus devices?

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Releasing bus devices?
Date 2015-11-25 17:30 +0100
Message-ID <qyL7b-gt-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I'm writing a bus driver, and I'm confused.

If I create a class and class devices, I can set a release method on
the class.  But if I create a bus, there's no bus_type.dev_release.
Am I really supposed to manually set .release on each struct device
that I enumerate?  If so, why?

--Andy

-- 
Andy Lutomirski
AMA Capital Management, LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Releasing bus devices? Andy Lutomirski <luto@amacapital.net> - 2015-11-25 17:30 +0100
  Re: Releasing bus devices? Greg KH <gregkh@linuxfoundation.org> - 2015-11-25 17:40 +0100
    Re: Releasing bus devices? Andy Lutomirski <luto@amacapital.net> - 2015-11-27 18:30 +0100

csiph-web