Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289089
b: refs/heads/master
c: 09f993e
h: refs/heads/master
i:
  289087: 0365702
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Feb 14, 2012
1 parent 1ab6bb6 commit 0878bcc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 5f01f7f301db567a7a2b99d012db1c408ce0e9de
refs/heads/master: 09f993e6844a0cacec2ccff72f04c4fc436a2358
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/dac/ad5360.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ static int __devinit ad5360_alloc_channels(struct iio_dev *indio_dev)
struct iio_chan_spec *channels;
unsigned int i;

channels = kcalloc(sizeof(struct iio_chan_spec),
st->chip_info->num_channels, GFP_KERNEL);
channels = kcalloc(st->chip_info->num_channels,
sizeof(struct iio_chan_spec), GFP_KERNEL);

if (!channels)
return -ENOMEM;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/dac/ad5380.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ static int __devinit ad5380_alloc_channels(struct iio_dev *indio_dev)
struct iio_chan_spec *channels;
unsigned int i;

channels = kcalloc(sizeof(struct iio_chan_spec),
st->chip_info->num_channels, GFP_KERNEL);
channels = kcalloc(st->chip_info->num_channels,
sizeof(struct iio_chan_spec), GFP_KERNEL);

if (!channels)
return -ENOMEM;
Expand Down

0 comments on commit 0878bcc

Please sign in to comment.