Commit 3bffc475 authored by Silviu-Mihai Popescu's avatar Silviu-Mihai Popescu Committed by David S. Miller

CAIF: fix indentation for function arguments

This lines up function arguments on second and subsequent lines at the
first column after the openning parenthesis of the first line.
Signed-off-by: default avatarSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2fb4f54
...@@ -302,9 +302,10 @@ static void dev_flowctrl(struct net_device *dev, int on) ...@@ -302,9 +302,10 @@ static void dev_flowctrl(struct net_device *dev, int on)
void caif_enroll_dev(struct net_device *dev, struct caif_dev_common *caifdev, void caif_enroll_dev(struct net_device *dev, struct caif_dev_common *caifdev,
struct cflayer *link_support, int head_room, struct cflayer *link_support, int head_room,
struct cflayer **layer, int (**rcv_func)( struct cflayer **layer,
struct sk_buff *, struct net_device *, int (**rcv_func)(struct sk_buff *, struct net_device *,
struct packet_type *, struct net_device *)) struct packet_type *,
struct net_device *))
{ {
struct caif_device_entry *caifd; struct caif_device_entry *caifd;
enum cfcnfg_phy_preference pref; enum cfcnfg_phy_preference pref;
......
...@@ -301,8 +301,7 @@ static int caif_connect_req_to_link_param(struct cfcnfg *cnfg, ...@@ -301,8 +301,7 @@ static int caif_connect_req_to_link_param(struct cfcnfg *cnfg,
int caif_connect_client(struct net *net, struct caif_connect_request *conn_req, int caif_connect_client(struct net *net, struct caif_connect_request *conn_req,
struct cflayer *adap_layer, int *ifindex, struct cflayer *adap_layer, int *ifindex,
int *proto_head, int *proto_head, int *proto_tail)
int *proto_tail)
{ {
struct cflayer *frml; struct cflayer *frml;
struct cfcnfg_phyinfo *phy; struct cfcnfg_phyinfo *phy;
......
...@@ -160,8 +160,7 @@ static void cfsrvl_release(struct cflayer *layer) ...@@ -160,8 +160,7 @@ static void cfsrvl_release(struct cflayer *layer)
void cfsrvl_init(struct cfsrvl *service, void cfsrvl_init(struct cfsrvl *service,
u8 channel_id, u8 channel_id,
struct dev_info *dev_info, struct dev_info *dev_info,
bool supports_flowctrl bool supports_flowctrl)
)
{ {
caif_assert(offsetof(struct cfsrvl, layer) == 0); caif_assert(offsetof(struct cfsrvl, layer) == 0);
service->open = false; service->open = false;
......
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