Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236242
b: refs/heads/master
c: 037b653
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent 18fb19e commit 72e5c11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 4f143134c12293217e6c8d68d0018780199f6d3c
refs/heads/master: 037b653aae18147af152cc31d3c4c0cd072ffea9
14 changes: 7 additions & 7 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void deviceinfo_callback(struct hv_device *dev, struct input_dev_info *in
static void inputreport_callback(struct hv_device *dev, void *packet, u32 len);
static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len);

static inline struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
static struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -243,7 +243,7 @@ static inline struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
return inputDevice;
}

static inline void FreeInputDevice(struct mousevsc_dev *Device)
static void FreeInputDevice(struct mousevsc_dev *Device)
{
WARN_ON(atomic_read(&Device->RefCount) == 0);
kfree(Device);
Expand All @@ -252,7 +252,7 @@ static inline void FreeInputDevice(struct mousevsc_dev *Device)
/*
* Get the inputdevice object if exists and its refcount > 1
*/
static inline struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
static struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -278,7 +278,7 @@ static inline struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
/*
* Get the inputdevice object iff exists and its refcount > 0
*/
static inline struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
static struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -292,7 +292,7 @@ static inline struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
return inputDevice;
}

static inline void PutInputDevice(struct hv_device *Device)
static void PutInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -304,7 +304,7 @@ static inline void PutInputDevice(struct hv_device *Device)
/*
* Drop ref count to 1 to effectively disable GetInputDevice()
*/
static inline struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
static struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -320,7 +320,7 @@ static inline struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
/*
* Drop ref count to 0. No one can use InputDevice object.
*/
static inline struct mousevsc_dev *FinalReleaseInputDevice(struct hv_device *Device)
static struct mousevsc_dev *FinalReleaseInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand Down

0 comments on commit 72e5c11

Please sign in to comment.