Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4279863imc; Mon, 25 Feb 2019 01:59:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IYM+tppE2vxM6o5MsRGvKH5D1f6CpdxK3emIiH2XVDTf6ABl7gtoevJo4WV9Q8mqKpW6cdn X-Received: by 2002:a17:902:7682:: with SMTP id m2mr19832862pll.311.1551088785082; Mon, 25 Feb 2019 01:59:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551088785; cv=none; d=google.com; s=arc-20160816; b=enrDcvyGngjQZJ3Zbj0vd6eY/nSR2GndATVbDuyaBrSLl9qNRXhlvQ0UxVIxhTY8S7 pnC6u7iCCJYKAY5eY0uTQ/Y1//l9muz9hBAjNcdk0Wxb/3FGPvv4iMVgJE+gapXzktWd HQ2KsKrBqiX7PhJk8vAPMSu0ypDGW9zyqRPmxlE7ubM5+3VqxFIJu9MWOsT4rYVEwkRe cjmvyhpeG7hcncgZDn1IImbkF/mIDcbXrSdSVjg8itFx5ZVV8dg1BzXH0+Tv73Sn5xyB gDwg+Yy+lffJx9LzAQKHcO1Vz2c/G/T/IzP6huSM5l3Rn91dc3JdI1oCnDPz561a59o7 +a5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lfcNJUe17L9kAC4mMH+fcfHccIe+VqNHr+lhXvgmTHc=; b=wKCc2mPIiWOHDO9T6+Q2dFLw33SCNSd8Qt/8IM5AXl/C/MKCUYcU2plDmnt5TqENpw QCW1IOhNYRiVoyyfNMRoUNs+vh7g4b5K65SDpu0U2wYrrtzN2OBG3bAqsymMQ2CvaR1k WOyNOl2VrnD35NIafWXNhKIvVqFflKZD7BQaHpCgbHSlL7ePCldhpWy90DIIQZNV6H1U i78+L63VvGdJvZ/jfh9okwYuyRHMwAb6ElItTR1jFoG4cLRVP3f2wOgOU7XTanLCL8Kk b326XW+ACfxXrWVmUGi3lY23d2aG+QNV0AoBoNjCEQrSoa2cWWjABNB8xwiTadmsVSkw BiIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si9532411pfb.283.2019.02.25.01.59.29; Mon, 25 Feb 2019 01:59:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbfBYJ5n (ORCPT + 99 others); Mon, 25 Feb 2019 04:57:43 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:32846 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbfBYJ5m (ORCPT ); Mon, 25 Feb 2019 04:57:42 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1P9rnkN011364; Mon, 25 Feb 2019 03:57:39 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail3.cirrus.com ([87.246.76.56]) by mx0b-001ae601.pphosted.com with ESMTP id 2qu3ftj8g3-1; Mon, 25 Feb 2019 03:57:39 -0600 Received: from EX17.ad.cirrus.com (ex17.ad.cirrus.com [172.20.9.81]) by mail3.cirrus.com (Postfix) with ESMTP id 1AD79611C8B2; Mon, 25 Feb 2019 03:57:53 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Mon, 25 Feb 2019 09:57:38 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id x1P9vcOb014157; Mon, 25 Feb 2019 09:57:38 GMT Date: Mon, 25 Feb 2019 09:57:38 +0000 From: Charles Keepax To: Axel Lin CC: Mark Brown , Liam Girdwood , Subject: Re: [PATCH] regulator: arizona_ldo1: Simplify arizona_ldo1_hc_set/get_voltage_sel Message-ID: <20190225095738.GB46536@ediswmail.ad.cirrus.com> References: <20190225091349.6159-1-axel.lin@ingics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190225091349.6159-1-axel.lin@ingics.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=887 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902250074 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 25, 2019 at 05:13:49PM +0800, Axel Lin wrote: > Setup .vsel_reg and .vsel_mask then we can use the standard > set/get_voltage_sel_regmap helpers to simplify the code. > > Signed-off-by: Axel Lin > --- Acked-by: Charles Keepax Thanks, Charles