From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755240Ab2A0OIp (ORCPT ); Fri, 27 Jan 2012 09:08:45 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:46424 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258Ab2A0OIp (ORCPT ); Fri, 27 Jan 2012 09:08:45 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 27 Jan 2012 15:08:44 +0100 Message-ID: Subject: Re: [PATCH 4/4] leds-lp5521: redefinition of register bits From: Linus Walleij To: "Kim, Milo" Cc: "linux-kernel@vger.kernel.org" , "rpurdie@rpsys.net" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 21, 2012 at 7:09 PM, Kim, Milo wrote: > For better readability, values of LP5521_REG_ENABLE register were redefined. > Additional definitions: LP5521_ENABLE_DEFAULT and LP5521_ENABLE_RUN_PROGRAM. > > Use definition rather than hard code value. > : 0x3F -> 'LP5521_CMD_DIRECT' > > Signed-off-by: Milo(Woogyom) Kim Looks like a good idea. Acked-by: Linus Walleij Yours, Linus Walleij