[PATCH v2 0/2] at91sam9260/9g20ek: cleanup and optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some cleanup and optimization removing #if/#ifdef and using IS_ENABLED.

Best regards

v2:
 - fixed the first patch by removing the #ifdef inside nand_pdata definition.


Fabio Porcedda (2):
  at91sam9260/9g20ek: use IS_ENABLED instead of #if/#ifdef
  at91sam9260/9g20ek: remove #ifdef for ek_usb_add_device_mci()

 arch/arm/boards/at91sam9260ek/init.c | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

-- 
1.8.1.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux