Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274775
b: refs/heads/master
c: adaf2a5
h: refs/heads/master
i:
  274773: efa82ca
  274771: 29fc1d9
  274767: e590b50
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 9ec53b3 commit a2ae7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1fc468d5d55a0d9101e482ccb96b1b2879a73882
refs/heads/master: adaf2a5d0887f9a317eca8550e59b0c92876c64f
8 changes: 1 addition & 7 deletions trunk/drivers/mtd/devices/sst25l.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,13 +423,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
flash->mtd.numeraseregions);


if (mtd_has_cmdlinepart()) {
static const char *part_probes[] = {"cmdlinepart", NULL};

nr_parts = parse_mtd_partitions(&flash->mtd,
part_probes,
&parts, 0);
}
nr_parts = parse_mtd_partitions(&flash->mtd, NULL, &parts, 0);

if (nr_parts <= 0 && data && data->parts) {
parts = data->parts;
Expand Down

0 comments on commit a2ae7c6

Please sign in to comment.