[PATCH v5 26/32] mtd: spi-nor: micron-st: rename vendor specific functions and defines

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Fri Feb 25 07:38:26 PST 2022


On 2/25/22 17:36, Michael Walle wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Am 2022-02-25 15:03, schrieb Tudor.Ambarus at microchip.com:
>> On 2/23/22 15:43, Michael Walle wrote:
>>> EXTERNAL EMAIL: Do not click links or open attachments unless you know
>>> the content is safe
>>>
>>> Drop the generic spi_nor prefix for all the micron-st functions.
>>>
>>> Signed-off-by: Michael Walle <michael at walle.cc>
>>> Tested-by: Pratyush Yadav <p.yadav at ti.com> # on mt35xu512aba,
>>> s28hs512t
>>> ---
>>>  drivers/mtd/spi-nor/micron-st.c | 18 +++++++++---------
>>>  1 file changed, 9 insertions(+), 9 deletions(-)
>>>
>>> diff --git a/drivers/mtd/spi-nor/micron-st.c
>>> b/drivers/mtd/spi-nor/micron-st.c
>>> index 1a7227594bf0..8a20475ce77a 100644
>>> --- a/drivers/mtd/spi-nor/micron-st.c
>>> +++ b/drivers/mtd/spi-nor/micron-st.c
>>
>> you forgot to rename the macros, as you did for xilinx.
> 
> Sigh. Actually, I didn't rename the macros at all (except for xilinx,
> but that was already way before the naming discussion). I couldn't
> come up with a good name, so I just left it as they were.
> 
> TBH, what was just a clean-up for the ready function turned
> into a gigantic patch series and it is very time consuming
> (and frustrating) to respin it just for renaming. We shouldn't
> aim at perfection for patches. Minor details can always be
> fixed later.
> 

Ok. I'll queue the patch set and fix them all in a single patch.



More information about the linux-mtd mailing list