From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752501AbcBKMBn (ORCPT ); Thu, 11 Feb 2016 07:01:43 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:33541 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbcBKMBj (ORCPT ); Thu, 11 Feb 2016 07:01:39 -0500 Subject: Re: [PATCH V5 08/11] soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173() To: John Crispin References: <1454841778-35529-1-git-send-email-blogic@openwrt.org> <1454841778-35529-9-git-send-email-blogic@openwrt.org> Cc: Sascha Hauer , Henry Chen , Thierry Reding , Flora Fu , Steven Liu , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org From: Matthias Brugger Message-ID: <56BC7820.6040203@gmail.com> Date: Thu, 11 Feb 2016 13:01:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1454841778-35529-9-git-send-email-blogic@openwrt.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/16 11:42, John Crispin wrote: > With more SoCs being added the list of helper functions like these would > grow. While at it also add a new flag "has_bridge" and use that instead of > pwrap_is_mt8173() where appropriate. > > Signed-off-by: John Crispin > --- Same here, please explain better what the code does. Thanks. Matthias