Re: [PATCH v3 8/8] device property: Introduce fwnode_property_get_reference_args

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

 




On Fri, 2017-07-21 at 14:39 +0300, Sakari Ailus wrote:
> The new fwnode_property_get_reference_args() interface amends the
> fwnode
> property API with the functionality of both
> of_parse_phandle_with_args()
> and __acpi_node_get_property_reference().
> 
> The semantics is slightly different: the cells property is ignored on
> ACPI
> as the number of arguments can be explicitly obtained from the
> firmware
> interface.
> 

 
> +#define NR_OF_FWNODE_REFERENCE_ARGS	8
> 

OF here is confusing. Can we just get rid of it?


-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
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