Re: [PATCH v4 4/5] device property: Introduce fwnode_device_is_available()

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

 




On Wed, May 31, 2017 at 01:12:35PM +0300, Sakari Ailus wrote:
> On 05/31/17 12:58, Mika Westerberg wrote:
> > On Mon, May 22, 2017 at 11:53:21AM +0300, Sakari Ailus wrote:
> >>  /**
> >> + * fwnode_device_is_available - check if a device is available for use
> >> + * @fwnode: Pointer to the fwnode of the device.
> >> + */
> >> +bool fwnode_device_is_available(struct fwnode_handle *fwnode)
> > 
> > Can it be const instead? Ditto for of_fwnode_device_is_available() and
> > acpi_fwnode_device_is_available) and the .device_available() hook.
> > 
> 
> In principle yes, but it will require other changes in the ACPI
> framework as well that do not suit well yet for this patchset.

Fair enough.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux