Commit 19bad699 authored by Bryan Brattlof's avatar Bryan Brattlof Committed by Greg Kroah-Hartman

staging: pi433: break long lines

scripts/checkpatch.pl is warning about some lines exceeding 100
charecters. This will cleanup the warnings.
Signed-off-by: default avatarBryan Brattlof <hello@bryanbrattlof.com>
Link: https://lore.kernel.org/r/87y2lsrnl8.fsf@bryanbrattlof.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f03d8d46
...@@ -117,9 +117,15 @@ struct pi433_rx_cfg { ...@@ -117,9 +117,15 @@ struct pi433_rx_cfg {
/* packet format */ /* packet format */
enum option_on_off enable_sync; enum option_on_off enable_sync;
enum option_on_off enable_length_byte; /* should be used in combination with sync, only */
enum address_filtering enable_address_filtering; /* operational with sync, only */ /* should be used in combination with sync, only */
enum option_on_off enable_crc; /* only operational, if sync on and fixed length or length byte is used */ enum option_on_off enable_length_byte;
/* operational with sync, only */
enum address_filtering enable_address_filtering;
/* only operational, if sync on and fixed length or length byte is used */
enum option_on_off enable_crc;
__u8 sync_length; __u8 sync_length;
__u8 fixed_message_length; __u8 fixed_message_length;
...@@ -132,10 +138,14 @@ struct pi433_rx_cfg { ...@@ -132,10 +138,14 @@ struct pi433_rx_cfg {
#define PI433_IOC_MAGIC 'r' #define PI433_IOC_MAGIC 'r'
#define PI433_IOC_RD_TX_CFG _IOR(PI433_IOC_MAGIC, PI433_TX_CFG_IOCTL_NR, char[sizeof(struct pi433_tx_cfg)]) #define PI433_IOC_RD_TX_CFG \
#define PI433_IOC_WR_TX_CFG _IOW(PI433_IOC_MAGIC, PI433_TX_CFG_IOCTL_NR, char[sizeof(struct pi433_tx_cfg)]) _IOR(PI433_IOC_MAGIC, PI433_TX_CFG_IOCTL_NR, char[sizeof(struct pi433_tx_cfg)])
#define PI433_IOC_WR_TX_CFG \
_IOW(PI433_IOC_MAGIC, PI433_TX_CFG_IOCTL_NR, char[sizeof(struct pi433_tx_cfg)])
#define PI433_IOC_RD_RX_CFG _IOR(PI433_IOC_MAGIC, PI433_RX_CFG_IOCTL_NR, char[sizeof(struct pi433_rx_cfg)]) #define PI433_IOC_RD_RX_CFG \
#define PI433_IOC_WR_RX_CFG _IOW(PI433_IOC_MAGIC, PI433_RX_CFG_IOCTL_NR, char[sizeof(struct pi433_rx_cfg)]) _IOR(PI433_IOC_MAGIC, PI433_RX_CFG_IOCTL_NR, char[sizeof(struct pi433_rx_cfg)])
#define PI433_IOC_WR_RX_CFG \
_IOW(PI433_IOC_MAGIC, PI433_RX_CFG_IOCTL_NR, char[sizeof(struct pi433_rx_cfg)])
#endif /* PI433_H */ #endif /* PI433_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment