Re: [PATCH 1/2] of: base: add function to get highest id of an alias stem

Wolfram Sang
2015-03-18T12:46:11Z

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

On Thu, Mar 12, 2015 at 05:17:58PM +0100, Wolfram Sang wrote:
> I2C supports adding adapters using either a dynamic or fixed id. The
> latter is provided by aliases in the DT case. To prevent id collisions
> of those two types, install this function which gives us the highest
> fixed id, so we can then let the dynamically created ones come after
> this highest number.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

Applied to for-next, thanks!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]