net: cosa: fix the code style issue about "foo* bar"
authorPeng Li <lipeng321@huawei.com>
Wed, 16 Jun 2021 07:23:29 +0000 (15:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 07:52:33 +0000 (00:52 -0700)
Fix the checkpatch error as "foo* bar" should be "foo *bar".

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/cosa.c

index 372dffc2d355abb96e52691a93d68a8a79751367..c051c6120e309c7c1a5bc9a08a77f433edfedb3c 100644 (file)
@@ -337,7 +337,7 @@ static void debug_status_in(struct cosa_data *cosa, int status);
 static void debug_status_out(struct cosa_data *cosa, int status);
 #endif
 
-static inline struct channel_datadev_to_chan(struct net_device *dev)
+static inline struct channel_data *dev_to_chan(struct net_device *dev)
 {
        return (struct channel_data *)dev_to_hdlc(dev)->priv;
 }