diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-07-15 20:43:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-20 15:32:36 -0400 |
commit | fbabbddd64236e88e7302cff7c20e066a211d82a (patch) | |
tree | c38337f69021e297fce0397467230a167380ff3b /drivers/media/dvb-core/dvb_ca_en50221.c | |
parent | a75aa90c7c2fd82793efca1d300fd9bad766c02d (diff) | |
download | op-kernel-dev-fbabbddd64236e88e7302cff7c20e066a211d82a.zip op-kernel-dev-fbabbddd64236e88e7302cff7c20e066a211d82a.tar.gz |
media: dvb_ca_en50221: Added line breaks
Fixed all:
WARNING: Missing a blank line after declarations
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_ca_en50221.c')
-rw-r--r-- | drivers/media/dvb-core/dvb_ca_en50221.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index 7207ff5..678bd6a 100644 --- a/drivers/media/dvb-core/dvb_ca_en50221.c +++ b/drivers/media/dvb-core/dvb_ca_en50221.c @@ -178,7 +178,9 @@ static void dvb_ca_private_free(struct dvb_ca_private *ca) static void dvb_ca_private_release(struct kref *ref) { - struct dvb_ca_private *ca = container_of(ref, struct dvb_ca_private, refcount); + struct dvb_ca_private *ca; + + ca = container_of(ref, struct dvb_ca_private, refcount); dvb_ca_private_free(ca); } @@ -297,8 +299,10 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, start = jiffies; timeout = jiffies + timeout_hz; while (1) { + int res; + /* read the status and check for error */ - int res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); + res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); if (res < 0) return -EIO; |