Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751051Ab2H0EBH (ORCPT ); Mon, 27 Aug 2012 00:01:07 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:49733 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725Ab2H0EBE (ORCPT ); Mon, 27 Aug 2012 00:01:04 -0400 MIME-Version: 1.0 In-Reply-To: <1345996865-32082-2-git-send-email-Julia.Lawall@lip6.fr> References: <1345996865-32082-1-git-send-email-Julia.Lawall@lip6.fr> <1345996865-32082-2-git-send-email-Julia.Lawall@lip6.fr> Date: Mon, 27 Aug 2012 09:31:03 +0530 X-Google-Sender-Auth: QbjQAKEi240_UGU-daHbqK6REb4 Message-ID: Subject: Re: [PATCH 1/13] drivers/staging/iio/adc/spear_adc.c: use clk_prepare_enable and clk_disable_unprepare From: viresh kumar To: Julia Lawall , Stefan Roese , Shiraz HASHIM Cc: Jonathan Cameron , kernel-janitors@vger.kernel.org, Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, spear-devel 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 Content-Length: 867 Lines: 19 On Sun, Aug 26, 2012 at 9:30 PM, Julia Lawall wrote: > From: Julia Lawall > > Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and > clk_enable, and clk_disable and clk_unprepare. They make the code more > concise, and ensure that clk_unprepare is called when clk_enable fails. > > A simplified version of the semantic patch that introduces calls to these > functions is as follows: (http://coccinelle.lip6.fr/) Reviewed-by: Viresh Kumar @Stefan/Shiraz: Can you update spear-devel mailing list in MAINTAINERS file for this driver? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/