From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AC78C4332F for ; Tue, 22 Nov 2022 16:58:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234309AbiKVQ6k (ORCPT ); Tue, 22 Nov 2022 11:58:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234374AbiKVQ6j (ORCPT ); Tue, 22 Nov 2022 11:58:39 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34C882EF6C; Tue, 22 Nov 2022 08:58:32 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id B39D9B81CB2; Tue, 22 Nov 2022 16:58:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C88BC433D6; Tue, 22 Nov 2022 16:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1669136309; bh=BweFA7Hldv6dYWUI7Rx0+i0hiB7jKeQrUbpDoH8sLV8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=06LcMx17g7Oy6wt+mN8VCOFHE7Ip0WhnTZUFxu0KfudLF9BnqWY+cpa6cIK2hYz7m CESNjInlHOCTehM7Rk4oZVaxq1QsgkSlH+rcEyyTu0ksA6vXBdgA0P/Lp18SU9vjn6 fc66hpwATtqYNfrHp1hTS4ggwGn193q16X9goe1Y= Date: Tue, 22 Nov 2022 17:58:26 +0100 From: Greg Kroah-Hartman To: Bartosz Golaszewski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jiri Slaby , Srinivas Kandagatla , Vinod Koul , Alex Elder , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v2 12/15] tty: serial: provide devm_uart_add_one_port() Message-ID: References: <20221122102125.142075-1-brgl@bgdev.pl> <20221122102125.142075-13-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221122102125.142075-13-brgl@bgdev.pl> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Tue, Nov 22, 2022 at 11:21:22AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Provide a devres variant of uart_add_one_port() that removes the managed > port at device detach. Ick, no, please let's keep devm away from the serial layer like this. I would need a LOT of justification for why this is needed, not just one driver that wants to use it, sorry. Please do not make this part of the series for this driver, but do it separately, later, if you still want it. thanks, greg k-h