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 E9824C433EF for ; Wed, 20 Apr 2022 06:33:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350411AbiDTGfp (ORCPT ); Wed, 20 Apr 2022 02:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348640AbiDTGfj (ORCPT ); Wed, 20 Apr 2022 02:35:39 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B0E39B9A for ; Tue, 19 Apr 2022 23:32:53 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23K6WWBj022338; Wed, 20 Apr 2022 01:32:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1650436352; bh=vQlDnAMoy4wZrHoHB2oHSjpTBEtgonXsQqF285Vufwc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ww9oO9EteRRjtc6kgVWwj5l2jXVzW73OttyPqaohFDOHzTsQfFc6zruIo13TPVZWP 0qsDKkuhH1Otk8s/K76qOlGLWyyRmYSMdNv+GxNaQ/GY6CQ4pf787wsisrmo7tgaHP qsftnRf7NgnyvE4LPC3VQ9zyKFWvuoO577xtpdBg= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23K6WWNC016753 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Apr 2022 01:32:32 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 20 Apr 2022 01:32:32 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 20 Apr 2022 01:32:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23K6WVKC005590; Wed, 20 Apr 2022 01:32:32 -0500 Date: Wed, 20 Apr 2022 12:02:31 +0530 From: Pratyush Yadav To: Tudor Ambarus CC: , , , , , , , , Subject: Re: [PATCH] mtd: spi-nor: Introduce templates for SPI NOR operations Message-ID: <20220420063231.kdtppbpwceiyfocb@ti.com> References: <20220304093011.198173-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220304093011.198173-1-tudor.ambarus@microchip.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/22 11:30AM, Tudor Ambarus wrote: > Clean the op declaration and hide the details of each op. With this it > results a cleanner, easier to read code. No functional change expected. > > Signed-off-by: Tudor Ambarus I have not looked at the changes very closely but the idea sounds fine to me. Acked-by: Pratyush Yadav -- Regards, Pratyush Yadav Texas Instruments Inc.