Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92366
b: refs/heads/master
c: c1b4d92
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 0e5addd commit e10813a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9e315a16a5536120bac09a6d4217b8381c73c5c
refs/heads/master: c1b4d92789ada9ea6b7f1156ede7022eab309eab
8 changes: 6 additions & 2 deletions trunk/drivers/media/video/tuner-i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,17 @@ __fail: \
__ret; \
})

#define hybrid_tuner_release_state(state) do { \
#define hybrid_tuner_release_state(state) \
({ \
int __ret; \
state->i2c_props.count--; \
__ret = state->i2c_props.count; \
if (!state->i2c_props.count) { \
__tuner_info(state->i2c_props, "destroying instance\n");\
list_del(&state->hybrid_tuner_instance_list); \
kfree(state); \
} \
} while (0)
__ret; \
})

#endif /* __TUNER_I2C_H__ */

0 comments on commit e10813a

Please sign in to comment.