Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2059258rwb; Thu, 29 Sep 2022 05:52:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7rIfL+2njDkULfda2ptfZ8FjcDrkeO+k0Ca0NVxW8Od00Zqug8WaP1bnut+YkS0UUFXl8h X-Received: by 2002:a17:90b:2c0d:b0:202:54a1:d502 with SMTP id rv13-20020a17090b2c0d00b0020254a1d502mr3690810pjb.70.1664455945234; Thu, 29 Sep 2022 05:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664455945; cv=none; d=google.com; s=arc-20160816; b=RhXjqDHtoSOFN1fa4Os9cXHRtz+O3s0oyY1Lv32aMzGuAAuQ8sZkaI3IlOV+I27I0+ 9HNwbMtwwXZR04kIuYsAvl8g/gFLTR7N/HOmYFfpGrny4RfWayl1bMmk6YK7QCLG2F1t BV7Ac97YornG+qicQev0X87sah+C81W7a8NNPgovX/+aznmTim2QQ34n3/FrGpNZ2uWX fOH3QQNUVvrmlPHB3aE3twdkm+R+Cnn0n/2JP1bsGOip83wkI8mNn46CK0cEZZ2SPPs1 L5nZtI7jvX6W/4yGYcV8vJ6w/Ydt5lkd6y8glJZEmI6Cbuy0dDrZnH+4JehUsrgnaJ2A 3IyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kaeArlWOy1pO6EHmql3T+5Q+U7tazQmSB1XwrCfiQEc=; b=Eb4eox+BfnsJUyM70FefD9eCOici7V5n6tun5CqHJGfWwZKFs6Ct1iMoFZaNFpb5NK iV9mb5GN8FwzIIbsomG8sQm4nOqaUbLoxACCo1MIoneD02AUnApGuLYvf8Ex5hzg3AnC Fa007L7klRqZ6jSFKAR8eWWeAIWGHpKJMe3ipDnIbEU70FIwEw4vBWgQahwGWESJztgB 1sYglW370wkndoZr4naP1QaLj+lbRupx3TA86wYDaGdwG9W0uB+AicUVrFOILCwGAzst W+EceyB/YMxDdKdfIPubjV5+J2nEi8nCSSwoIG8RvWh0PuasDil1pKmZVkrHeadPFLAf 1mGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vAsVlZCs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gm6-20020a17090b100600b001fac102fdeesi1485927pjb.95.2022.09.29.05.52.13; Thu, 29 Sep 2022 05:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vAsVlZCs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235373AbiI2MTF (ORCPT + 99 others); Thu, 29 Sep 2022 08:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234940AbiI2MTB (ORCPT ); Thu, 29 Sep 2022 08:19:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 889F5147F30; Thu, 29 Sep 2022 05:18:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D44B26113D; Thu, 29 Sep 2022 12:18:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B96DC433D7; Thu, 29 Sep 2022 12:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664453937; bh=gKdjwVsfsr4wCSJDA0zSaFv6ty+qQPz23x9GYNS0JRg=; h=From:To:Cc:Subject:Date:From; b=vAsVlZCsejM8/zUcf2vDobM0Xuax/zsy3ecI/C/EEnhLg4bwSRk7lXfqzw71lVji6 SpHG2a8itzakRAOGNon0byYG5IyrAaJDVOIe/NTlH/ihyzH03Yn4ZyyEyFwrNdHPZs Fr0ta02/qgx6NWRj1OV/NhmvMLjfoV/J9jSboGf3vT43JgUJcI5LMlYVmTmriwbosK gAFuvR8m6ANh/CyfbH7yZA+r2gH5lYu+JAxImyaah3lNKxKGsruANDuKkEA0Uy4LBo Ww8ikqoMh427H9zH7fW/v4n9VM5stZefr/X1EaGDworTFtkw/NwqCjAdh5MAcx/fsh vK7r3hu+TMIlw== From: broonie@kernel.org To: "Rafael J . Wysocki" Cc: Daniel Scally , Linux Kernel Mailing List , Linux Next Mailing List , "Rafael J . Wysocki" , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Wolfram Sang Subject: linux-next: manual merge of the pm tree with the i2c tree Date: Thu, 29 Sep 2022 13:18:53 +0100 Message-Id: <20220929121853.100271-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Today's linux-next merge of the pm tree got a conflict in: drivers/platform/x86/intel/int3472/tps68470.c between commit: ed5c2f5fd10dd ("i2c: Make remove callback return void") from the i2c tree and commit: 06a659d1f0a0a ("platform/x86: int3472: Support multiple gpio lookups in board data") from the pm tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. diff --cc drivers/platform/x86/intel/int3472/tps68470.c index 5dd81bb05255b,49fc379fe680a..0000000000000 --- a/drivers/platform/x86/intel/int3472/tps68470.c +++ b/drivers/platform/x86/intel/int3472/tps68470.c @@@ -178,13 -227,18 +227,16 @@@ static int skl_int3472_tps68470_probe(s return ret; } -static int skl_int3472_tps68470_remove(struct i2c_client *client) +static void skl_int3472_tps68470_remove(struct i2c_client *client) { const struct int3472_tps68470_board_data *board_data; + int i; board_data = int3472_tps68470_get_board_data(dev_name(&client->dev)); - if (board_data) - gpiod_remove_lookup_table(board_data->tps68470_gpio_lookup_table); + if (board_data) { + for (i = 0; i < board_data->n_gpiod_lookups; i++) + gpiod_remove_lookup_table(board_data->tps68470_gpio_lookup_tables[i]); + } - - return 0; } static const struct acpi_device_id int3472_device_id[] = {