Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4693253rwe; Tue, 30 Aug 2022 15:14:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR599yRd7v3LmsekrFBiFBeGzx1HZsqpxDQKhxfMjd4K/RlLTln6vhGogee1PtVXALkrzLdg X-Received: by 2002:a17:907:a0c7:b0:739:7ea:88ec with SMTP id hw7-20020a170907a0c700b0073907ea88ecmr18334653ejc.363.1661897696864; Tue, 30 Aug 2022 15:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661897696; cv=none; d=google.com; s=arc-20160816; b=Fm/SDAHyxCljERPLDsHIZa6Hvtmx0C+mY+KZBTRy8iTW0Go1zauA/WxBAgr5S2aaj4 WQwZVwJ1vZW1Z0smghhZb7+Si563ed1gbVF5nIMA7MdtAhIKdz5p0phjSGrIzI/dmgLt 2tJMBvP+jFpipk0v6ph09ylsTaJhjLfhaqVF26h78bsGLwAtuaI/QDJLIfq9QWSHSklq cz6IrPYmEsdd4nstbA4XMm9bKnURbmG5faWopR0aqMomyxUvujtuws6Fa1j5Ir26O+BC IDBUGAE8DBoQcBRPbhz000vn37dmVFS4xkTQFcvTfbiNup8UOpqIIjgh5qXMOIMJefKf Fo3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=7xaKDiojYzx9iBHJXJylC/t0ZCDarTRURXqPZlbq7h8=; b=BB8PuhZAbGdm4xSzn9DTLMqbnrHineEtwL9PhXyj6JWGvUaWgG6piOjHCBsTNsyjkN HjjPzfeggbn34s/nHghHmuMBIAkiA9pN15u2q/n7IRZMNXgaJlf8pFx8lYTUHizuFuqU uhpabN0sN+6G3gtHpPJeVUY2e4JFDT0LbnFWN9bfEw5gfK9/DZDBIkU3KY5ylIwfH+pP lTpr70WsuW2opp7KgEr5QpSp3Y5C9TTc76GGImC9hnDSRDzHJ91DisVWIaeJH4+b8Szh F5acnJNSbfXEjKBLBB6gylE6o5uoz+4cKGkbV2gYzgk792fvmENaq5G5Kf4sybtmtn3U bkmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WEpTPO0Q; 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 hb41-20020a170907162900b00730a134ccfasi8374976ejc.572.2022.08.30.15.14.30; Tue, 30 Aug 2022 15:14:56 -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=WEpTPO0Q; 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 S231459AbiH3VV1 (ORCPT + 99 others); Tue, 30 Aug 2022 17:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbiH3VVY (ORCPT ); Tue, 30 Aug 2022 17:21:24 -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 3CD3076763 for ; Tue, 30 Aug 2022 14:21:24 -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 CB343618AC for ; Tue, 30 Aug 2022 21:21:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26E18C433D6; Tue, 30 Aug 2022 21:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661894483; bh=7xaKDiojYzx9iBHJXJylC/t0ZCDarTRURXqPZlbq7h8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=WEpTPO0Q81zt/qmL/JRvXRVfdpPxoMIeq3E8aMeqgKlRlEti7LH+Dk37pGFW4GhLQ osK1hi3raC2EAe8RYfFArFE0SoiD11HyaMfL6Ousxebap5lt90pISgY0+SH+9gqV2u Nmqd+5x6C8s5VBqAT/iBa9JpPWsI27QEyki1ILliPnZDijyVDV/GIFBzmXWP7KLq+R 0oiCjCzRqpYs9Z/ff+XvCJbQs1e5DswfooV39Xp9pf6R5gP81xxaZCDnSHkNBXUBWn FItwH41G7BGZBY/TLkQ7oDG52gsjvaoW4++qVpg6iBeDUMiYXFMu+7jjV+QAGX9sli /ySjD8GY0LZtg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220527071338.2359733-1-liuke94@huawei.com> References: <20220527071338.2359733-1-liuke94@huawei.com> Subject: Re: [PATCH] drivers: spmi: Directly use ida_alloc()/free() From: Stephen Boyd Cc: keliu To: keliu , linux-kernel@vger.kernel.org Date: Tue, 30 Aug 2022 14:21:21 -0700 User-Agent: alot/0.10 Message-Id: <20220830212123.26E18C433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 Quoting keliu (2022-05-27 00:13:38) > Use ida_alloc()/ida_free() instead of deprecated > ida_simple_get()/ida_simple_remove() . >=20 > Signed-off-by: keliu > --- Applied to spmi-next