Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D18AC6FD1F for ; Wed, 22 Mar 2023 10:02:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 77A3010E8E3; Wed, 22 Mar 2023 10:02:01 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0591F10E8E3 for ; Wed, 22 Mar 2023 10:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679479320; x=1711015320; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=b/pDjDAGBcg5WhI+AQMf4x0J3VeVkUcdJvmTMh6YlXI=; b=igbE8euMcJAoYLe6kCdaM6eUtZgd5B98r0vhQzd/8BHfu0pMGssJ5sEs F64zFcgQaXYDVuOLW5xZYMYWLj83aWJZdtS22iMbNVVAT7SHSENv7My73 5Etg+IrrJ3MMWBGFDFWd7KeiQkds7vlvc2igjIKe520eCU14WEr8O8rw5 DgbfzVJdiH3EvqzYsWHmMSgA2MdIpwS640lKhBetfhbttzPXydpF1lymQ 8vqtEVQnN0i9lUA+3/VXNhdOQl2dlDwPHT+9yE70ZtxC2z9sql4TBpbcf Iu+msj6drs4V4CIzA7klRes+mwZuaKo27HbGfjl2FEMPpbFU1Kk5aGpnN w==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="339214452" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="339214452" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 03:01:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="750975537" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="750975537" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 22 Mar 2023 03:01:49 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pevHt-0075cJ-2t; Wed, 22 Mar 2023 12:01:45 +0200 Date: Wed, 22 Mar 2023 12:01:45 +0200 From: Andy Shevchenko To: Matti Vaittinen Subject: Re: [PATCH v5 0/8] Support ROHM BU27034 ALS sensor Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heikki Krogerus , linux-kselftest@vger.kernel.org, Emma Anholt , "Rafael J. Wysocki" , linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, Brendan Higgins , Krzysztof Kozlowski , Zhigang Shi , Masahiro Yamada , =?iso-8859-1?Q?Ma=EDra?= Canal , Javier Martinez Canillas , Dmitry Osipenko , devicetree@vger.kernel.org, Paul Gazzillo , Liam Beguin , Rob Herring , Maxime Ripard , David Gow , kunit-dev@googlegroups.com, Stephen Boyd , Greg Kroah-Hartman , Randy Dunlap , Matti Vaittinen , linux-kernel@vger.kernel.org, Noralf =?iso-8859-1?Q?Tr=F8nnes?= , Thomas Zimmermann , Shreeya Patel , Jonathan Cameron Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Mar 22, 2023 at 11:05:23AM +0200, Matti Vaittinen wrote: > Revision history: > v4 => v5: Mostly fixes to review comments from Andy and Jonathan. > - more accurate change-log in individual patches > - copy code from DRM test helper instead of moving it to simplify > merging 1) Why do you think this is a problem? 2) How would we avoid spreading more copies of the same code in the future? 1) Merge conflicts is not a bad thing. It shows that people tested their code in isolation and stabilized it before submitting to the upper maintainer. https://yarchive.net/comp/linux/git_merges_from_upstream.html 2) Spreading the same code when we _know_ this, should be very well justified. Merge conflict is an administrative point, and not a technical obstacle to avoid. > - document all exported GTS helpers. > - inline a few GTS helpers > - use again Milli lux for the bu27034 with RAW IIO_LIGHT channel and scale > - Fix bug from added in v4 bu27034 time setting. -- With Best Regards, Andy Shevchenko