From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560AbcDRDn5 (ORCPT ); Sun, 17 Apr 2016 23:43:57 -0400 Received: from ozlabs.org ([103.22.144.67]:39491 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbcDRDnx (ORCPT ); Sun, 17 Apr 2016 23:43:53 -0400 Date: Mon, 18 Apr 2016 13:43:51 +1000 From: Stephen Rothwell To: Mark Brown , Liam Girdwood Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: linux-next: build warning after merge of the regulator tree Message-ID: <20160418134351.087823c5@canb.auug.org.au> 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/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_regulator_init': drivers/gpu/drm/msm/dsi/dsi_host.c:329:3: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations] if (regulator_can_change_voltage(s[i].consumer)) { ^ and several more ... Introduced by commit 6a0028b3dd67 ("regulator: Deprecate regulator_can_change_voltage()") In the future, please fix up all the current users of an interface *before* marking it deprecated. All these extra warnings just muddy the "real" warnings ... -- Cheers, Stephen Rothwell