From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753484AbbC1OvO (ORCPT ); Sat, 28 Mar 2015 10:51:14 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:34980 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753391AbbC1OvI (ORCPT ); Sat, 28 Mar 2015 10:51:08 -0400 From: Grant Likely Subject: Re: [PATCH 1/2] of: base: add function to get highest id of an =?iso-8859-1?Q?alias=0D?= stem To: Wolfram Sang , linux-i2c@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bob Feretich , Jean Delvare , devicetree@vger.kernel.org, Rob Herring In-Reply-To: <20150318124631.GB3580@katana> References: <1426177093-26820-1-git-send-email-wsa@the-dreams.de> <1426177093-26820-2-git-send-email-wsa@the-dreams.de> <20150318124631.GB3580@katana> Date: Sat, 28 Mar 2015 13:20:49 +0000 Message-Id: <20150328132049.EDF7CC40869@trevor.secretlab.ca> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Mar 2015 13:46:31 +0100 , Wolfram Sang wrote: > 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 > > Applied to for-next, thanks! Looks good to me to. Thanks for doing this. It should also be useful for other devices. g.