From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D43D83C6A5A; Thu, 5 Mar 2026 15:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772725813; cv=none; b=mm+8PjCYUT+gzlNnBvDEWTVSx/XQCm7iCN2AusMww7hcUVnaRHgyvN9yI6moJry/zo3bCQOn4RSzbiq+Rw3I0f6g+Y3iNUt4aawm9WE98CF6JpqCKQRc0Ak+M5mVLFPT5I8F+CSbeP9JspBz8CMMhIs1sUmXbk679utXAQKNokQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772725813; c=relaxed/simple; bh=18Ib7x9aoQSlr32NwKxnTk094i+GFNOsW/pUeH5Wtr4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WmYF3Wrf3kgdymBBmrstmnLoL+1O4nmSdKE36Z8K32q2NDcwEm8oFPlTyksk3yCzSJ33kSZoOUFZ7bKKDZmQgeGi3gY4M8tUMcxV/vq7iP4bK6mBjZDYYW5uHaA+DMOeySkQSDV/JqMOlZ4FuvG/aN2lT9tcTpcD55EwQHrVkX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fttLAMQW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fttLAMQW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A384C116C6; Thu, 5 Mar 2026 15:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772725813; bh=18Ib7x9aoQSlr32NwKxnTk094i+GFNOsW/pUeH5Wtr4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fttLAMQWeylB1CbO/j2ryAj/fBaHySP40tengPn01l6oVFzBacQZ8SmpVFl1iU3Ul 0O9HzB6OwKN12E45f0vE55SVSr9f7CdQg/qCmGYMzZrbumUx/QhtPNTB6c1zPok+l4 xfhdyxhD41ufOyJd2V2sgIfjH3YYpdEKvtjahVLeFO6cETOhrL1vWpHR7OeOMolXIF +72U8Hdox04A41cvGbL2LnVYmyUDJXhhgsksDX/8tPhz6fuDp9Pq39wBYuMDEFHJZ4 nzt3xeainVMK9xem9xpmopQErRTGF6nWi/ozUCtefmsJOKHVDpeXCgMqzNVQS9ZmbP 2fFOTtsUfPz9g== Date: Thu, 5 Mar 2026 23:50:09 +0800 From: Tzung-Bi Shih To: "Rafael J. Wysocki" Cc: chrome-platform@lists.linux.dev, LKML , Linux ACPI , Benson Leung , Enric Balletbo i Serra , Ravi Chandra Sadineni Subject: Re: [PATCH v1 4/6] platform/chrome: chromeos_tbmc: Convert to a platform driver Message-ID: References: <2274474.Mh6RI2rZIc@rafael.j.wysocki> <2553054.jE0xQCEvom@rafael.j.wysocki> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Mar 05, 2026 at 04:34:26PM +0100, Rafael J. Wysocki wrote: > On Thu, Mar 5, 2026 at 4:29 PM Tzung-Bi Shih wrote: > > > > On Wed, Mar 04, 2026 at 07:44:26PM +0100, Rafael J. Wysocki wrote: > > > static void chromeos_tbmc_notify(acpi_handle handle, u32 event, void *data) > > > { > > > - struct acpi_device *adev = data; > > > + struct device *dev = data; > > > + struct acpi_device *adev = ACPI_COMPANION(dev); > > > > > > acpi_pm_wakeup_event(&adev->dev); > > ^^^^^^^^^^ > > If I understand it correctly, I think this should also be changed to `dev`? > > Yes, it should. > > Essentially, this needs to be the same device for which > device_init_wakeup() has been called. > > Sorry for missing this. > > Do I need to resend the series with this fixes or would it be > sufficient to send a v2 of this particular patch? Please resend the series as v2, addressing the fix and the minor fix in patch [2/6].