From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753461AbbJGCpJ (ORCPT ); Tue, 6 Oct 2015 22:45:09 -0400 Received: from ozlabs.org ([103.22.144.67]:50658 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752667AbbJGCpH (ORCPT ); Tue, 6 Oct 2015 22:45:07 -0400 Date: Wed, 7 Oct 2015 13:45:03 +1100 From: Stephen Rothwell To: Mark Brown , Liam Girdwood Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sascha Hauer Subject: linux-next: build warning after merge of the regulator tree Message-ID: <20151007134503.48dd5084@canb.auug.org.au> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, After merging the regulator tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/regulator/core.c: At top level: drivers/regulator/core.c:139:13: warning: 'regulator_lock_supply' defined but not used [-Wunused-function] static void regulator_lock_supply(struct regulator_dev *rdev) ^ drivers/regulator/core.c:159:13: warning: 'regulator_unlock_supply' defined but not used [-Wunused-function] static void regulator_unlock_supply(struct regulator_dev *rdev) ^ Introduced by commit 9f01cd4a915e ("regulator: core: introduce function to lock regulators and its supplies") -- Cheers, Stephen Rothwell sfr@canb.auug.org.au