<mmind00>
Esmil: haha ... just to be sure, the last line changes x to RK_FUNC_x?
<Esmil>
yes, but the previous line catches 0 -> RK_FUNC_GPIO
<mmind00>
Esmil: as that is the one thing I want to deprecate ... i.e. 0 -> RK_FUNC_GPIO is sane, but having a "never ending" constant list of RK_FUNC_1 -> 1, ..., RK_FUNC_8 -> 8 is not needed
<Esmil>
Right, makes sense. Then you can just remove the last line
<mmind00>
for the GPIO case, it is descriptive, but the simple number doesn't help
<Esmil>
yeah
<mmind00>
So I'll give that a try, and will already say thanks a lot for investing the time ;-)
<Esmil>
np
<mmind00>
Esmil: I guess same is true for the "s/<\([0-9]\) /<RK_GPIO\1 /g" line ... just drop the line ... or better yet, can we just invert both? ... aka make RK_GPIOx -> x and RK_FUNC_y->y?
<Esmil>
Sure, I'll fix that
<mmind00>
very cool
<Esmil>
mmind00: curl http://ix.io/1nvf | sed -f - -i arch/arm64/boot/dts/rockchip/*
<mmind00>
Esmil: thanks a lot
adjtm has joined #linux-rockchip
mrjay has quit [Quit: Page closed]
ldevulder has quit [Ping timeout: 252 seconds]
ldevulder has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
phh|new is now known as phh
BenG83 has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
matthias_bgg has quit [Remote host closed the connection]