Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576Ab2H0EEM (ORCPT ); Mon, 27 Aug 2012 00:04:12 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:43287 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885Ab2H0EEK (ORCPT ); Mon, 27 Aug 2012 00:04:10 -0400 MIME-Version: 1.0 In-Reply-To: <1345996865-32082-11-git-send-email-Julia.Lawall@lip6.fr> References: <1345996865-32082-1-git-send-email-Julia.Lawall@lip6.fr> <1345996865-32082-11-git-send-email-Julia.Lawall@lip6.fr> Date: Mon, 27 Aug 2012 09:34:09 +0530 X-Google-Sender-Auth: p2lcLjUNXa05lOWw53gTZw3KfOA Message-ID: Subject: Re: [PATCH 10/13] drivers/watchdog/sp805_wdt.c: use clk_prepare_enable and clk_disable_unprepare From: viresh kumar To: Julia Lawall Cc: Wim Van Sebroeck , kernel-janitors@vger.kernel.org, linux-watchdog@vger.kernel.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: 770 Lines: 16 On Sun, Aug 26, 2012 at 9:31 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/) Acked-by: Viresh Kumar -- 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/