Re: [PATCH] Drivers: comedi: drivers: ni_routing: ni_device_routes: pci-6070e.c Lindented

From: Ian Abbott
Date: Fri Jul 23 2021 - 09:36:46 EST


On 23/07/2021 13:27, Artem Baxtiarov wrote:
I found "Lindent" item in drivers/comedi/TODO.
I used scripts/Lindent to indent
drivers/comedi/drivers/ni_routing/ni_device_routes/pci-6070e.c

Signed-off-by: Artem Baxtiarov <baxtiarovartem@xxxxxxxxx>
---
.../ni_routing/ni_device_routes/pci-6070e.c | 1227 +++++++++--------
1 file changed, 621 insertions(+), 606 deletions(-)


To me, the results look worse than the original. (Perhaps `indent` doesn't grok compound literals very well?)

Also, as written in the .../ni_routing/ni_device_routes/pci-6070e.c file (and other files in the same directory):

/*
* The contents of this file are generated using the tools in
* comedi/drivers/ni_routing/tools
*
* Please use those tools to help maintain the contents of this file.
*/

--
-=( Ian Abbott <abbotti@xxxxxxxxx> || MEV Ltd. is a company )=-
-=( registered in England & Wales. Regd. number: 02862268. )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-