Re: [PATCH v3 1/3] Staging: IndustryPack bus for the Linux Kernel

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

 



Hey Samuel,

> [snip]
>
> +#define to_ipack_dev(device) container_of(device, struct ipack_device, dev)
>
> [snip]
>
> +#define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver)

These don't need to be public as only your bus driver uses them. You can move this
into the .c file.

-- 
/manohar
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux