knvram: Remove emacs compile-command local variable

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Documentation typo fix

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Rename knvram_flush() to knvram_sync_all()

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Minor improvements

* Add knvram_dev_free() function for freeing memory allocated by
  knvram_dev_alloc().
* Add dummy stubs for knvram_dev_* functions, to get rid of ifdef in
  nvram.c

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Fix memory leak

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Move user API part of knvram to uapi

Signed-off-by: Esben Haabendal <eha@deif.com>
knvram: Fixup for 3.14

Signed-off-by: Esben Haabendal <eha@deif.com>