From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Turquette Subject: Re: [PATCH v2 00/12] clk/exynos convert clock IDs to macros Date: Mon, 16 Sep 2013 12:37:09 -0700 Message-ID: <20130916193709.27384.86101@quantum> References: <1378462361-13680-1-git-send-email-a.hajda@samsung.com> <8412301.YP2zzplWoe@amdc1227> <070001ceafa5$d4d81a40$7e884ec0$%kim@samsung.com> <523716C9.3000204@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <523716C9.3000204-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sylwester Nawrocki , Kukjin Kim Cc: 'Tomasz Figa' , 'Andrzej Hajda' , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, 'Kyungmin Park' , devicetree , linux-samsung-soc List-Id: devicetree@vger.kernel.org Quoting Sylwester Nawrocki (2013-09-16 07:33:45) > On 09/12/2013 12:50 PM, Kukjin Kim wrote: > > Well...I'm not sure changing to use macro is better or not at this moment... > > I think it is. ;) It's really less error prone to have symbolic names instead > of the plain numbers. The clock ids are defined in one place and it is more > clear what a clock is by looking at symbolic name. It's especially annoying > to use plain numbers where are are many clock in a single node, like 10 or > more. What are you main concerns with this ? I think having the symbolic names is a win for readability. Regards, Mike > > -- > Regards, > Sylwester -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html